diff options
author | Kobe Wu <kobe-cp.wu@mediatek.com> | 2019-06-24 11:35:48 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-06-25 11:17:08 +0300 |
commit | 9156e545765e467e6268c4814cfa609ebb16237e (patch) | |
tree | 744dbec6c9d15f87874364e706268816460748d9 /drivers/infiniband | |
parent | ebf8d82bbb32720878a3867b28e655950ccee992 (diff) | |
download | linux-9156e545765e467e6268c4814cfa609ebb16237e.tar.xz |
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/infiniband')
0 files changed, 0 insertions, 0 deletions