diff options
| author | Waiman Long <[email protected]> | 2025-05-06 04:20:49 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-05-06 16:34:43 +0000 |
| commit | cdb7d2d68cde6145a06a56c9d5d5d917297501c6 (patch) | |
| tree | f09d0763743b8f715c727a1995e870ce66a4c043 /mm/vmalloc.c | |
| parent | locking/lockdep: Prevent abuse of lockdep subclass (diff) | |
| download | kernel-cdb7d2d68cde6145a06a56c9d5d5d917297501c6.tar.gz kernel-cdb7d2d68cde6145a06a56c9d5d5d917297501c6.zip | |
locking/lockdep: Add number of dynamic keys to /proc/lockdep_stats
There have been recent reports about running out of lockdep keys:
MAX_LOCKDEP_KEYS too low!
One possible reason is that too many dynamic keys have been registered.
A possible culprit is the lockdep_register_key() call in qdisc_alloc()
of net/sched/sch_generic.c.
Currently, there is no way to find out how many dynamic keys have been
registered. Add such a stat to the /proc/lockdep_stats to get better
clarity.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Bill Wendling <[email protected]>
Cc: Justin Stitt <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
