diff options
| author | Waiman Long <[email protected]> | 2025-05-06 04:20:48 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-05-06 16:34:35 +0000 |
| commit | 6a1a219f535a437eb12a06d8cef2518e58654beb (patch) | |
| tree | 184e371c485c4bffb326c4fb5c28979b6658f179 /rust/helpers/xarray.c | |
| parent | locking/lockdep: Move hlock_equal() to the respective #ifdeffery (diff) | |
| download | kernel-6a1a219f535a437eb12a06d8cef2518e58654beb.tar.gz kernel-6a1a219f535a437eb12a06d8cef2518e58654beb.zip | |
locking/lockdep: Prevent abuse of lockdep subclass
To catch the code trying to use a subclass value >= MAX_LOCKDEP_SUBCLASSES (8),
add a DEBUG_LOCKS_WARN_ON() statement to notify the users that such a
large value is not allowed.
[ boqun: Reword the commit log with a more objective tone ]
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 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
