debugobjects: Fix potential hard lockup by disabling lockdep
Status from this message: NAK, we do not _EVER_ set novalidate if it can at all be avoided.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Add a lockdep patch to fix a dmesg warning message due to the use of the novalidate class.
Patches in v2
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | locking/lockdep: Don't warn class/lock name mismatch for novalidate classkernel/ | +5 | 0 replies | |
| 2/2 | debugobjects: Disable lockdep tracking of debugobjects internal lockslib/ | +8 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] debugobjects: Fix potential hard lockup by disabling lockdep
v2:
- Add a lockdep patch to fix a dmesg warning message due to the use of the novalidate class.
The only locking used by the debugobjects code is just 2 sets of raw spinlocks for synchronization purpose. When lockdep is enabled, the locking operation itself will become much more expensive especially if a number of locks have already been acquired previously. In some extreme cases, it may lead to hard lockup.
As there isn't much value in debugging the debugobjects internal locks, lockdep checking is now disabled for those internal locks. That will speed up system operation without compromising the lock checking operation of production code.
Waiman Long (2):
locking/lockdep: Don't warn class/lock name mismatch for novalidate
class
debugobjects: Disable lockdep tracking of debugobjects internal locks
kernel/locking/lockdep.c | 7 +++++-- lib/debugobjects.c | 9 ++++++++- 2 files changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
2.18.0