locking/csd_lock: Add Kconfig option for csd_debug default
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Mar 2023 00:55:13 +0000 (17:55 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 24 Mar 2023 10:01:25 +0000 (11:01 +0100)
commitc52198601695851622f361d3f16456e9fc857629
tree926d424fa43c6c4e0a24e003375791c291e96594
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
locking/csd_lock: Add Kconfig option for csd_debug default

The csd_debug kernel parameter works well, but is inconvenient in cases
where it is more closely associated with boot loaders or automation than
with a particular kernel version or release.  Thererfore, provide a new
CSD_LOCK_WAIT_DEBUG_DEFAULT Kconfig option that defaults csd_debug to
1 when selected and 0 otherwise, with this latter being the default.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230321005516.50558-1-paulmck@kernel.org
Documentation/admin-guide/kernel-parameters.txt
kernel/smp.c
lib/Kconfig.debug