summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKobe Wu <kobe-cp.wu@mediatek.com>2019-06-24 16:35:48 +0800
committerIngo Molnar <mingo@kernel.org>2019-06-25 10:17:08 +0200
commit9156e545765e467e6268c4814cfa609ebb16237e (patch)
tree744dbec6c9d15f87874364e706268816460748d9 /drivers
parentebf8d82bbb32720878a3867b28e655950ccee992 (diff)
locking/lockdep: increase size of counters for lockdep statistics
When system has been running for a long time, signed integer counters are not enough for some lockdep statistics. Using unsigned long counters can satisfy the requirement. Besides, most of lockdep statistics are unsigned. It is better to use unsigned int instead of int. Remove unused variables. - max_recursion_depth - nr_cyclic_check_recursions - nr_find_usage_forwards_recursions - nr_find_usage_backwards_recursions Signed-off-by: Kobe Wu <kobe-cp.wu@mediatek.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: <linux-mediatek@lists.infradead.org> Cc: <wsd_upstream@mediatek.com> Cc: Eason Lin <eason-yh.lin@mediatek.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Will Deacon <will.deacon@arm.com> Link: https://lkml.kernel.org/r/1561365348-16050-1-git-send-email-kobe-cp.wu@mediatek.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions