[PATCH] locking/lockdep: increase size of counters for lockdep statistics

Peter Zijlstra peterz at infradead.org
Mon Jun 24 02:46:47 PDT 2019


On Mon, Jun 24, 2019 at 04:35:48PM +0800, Kobe Wu wrote:
> 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 at mediatek.com>

Thanks!



More information about the Linux-mediatek mailing list