diff options
author | Paul E. McKenney <[email protected]> | 2023-03-20 17:55:16 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-03-24 11:01:26 +0100 |
commit | 203e435844734cfa503cd1755f35db2514db5cca (patch) | |
tree | fb35c65fa293455227352868a4e562bf96e1ffa0 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6366d062e7f97499409979f23f4107a6c45edb04 (diff) |
kernel/smp: Make csdlock_debug= resettable
It is currently possible to set the csdlock_debug_enabled static
branch, but not to reset it. This is an issue when several different
entities supply kernel boot parameters and also for kernels built with
CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT=y.
Therefore, make the csdlock_debug=0 kernel boot parameter turn off
debugging. Last one wins!
Reported-by: Jes Sorensen <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions