aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2025-05-06 04:20:48 +0000
committerIngo Molnar <[email protected]>2025-05-06 16:34:35 +0000
commit6a1a219f535a437eb12a06d8cef2518e58654beb (patch)
tree184e371c485c4bffb326c4fb5c28979b6658f179 /rust/helpers/xarray.c
parentlocking/lockdep: Move hlock_equal() to the respective #ifdeffery (diff)
downloadkernel-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