| commit | 4494d173d8208b4e467c88f53f989dfaf995097d | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@kernel.org> | Mon Feb 27 17:03:18 2023 -0800 |
| committer | Paul E. McKenney <paulmck@kernel.org> | Mon Feb 27 17:03:18 2023 -0800 |
| tree | 508e3727da641391713b9a262592212724b7d40e | |
| parent | 706227f0cbc12560b22d90b5ca0016bb2e2f2665 [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 <Jes.Sorensen@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>