Skip to content

Commit 0e4a19e

Browse files
rikvanrielpaulmckrcu
authored andcommitted
locking/csd-lock: make CSD lock debug tunables writable in /sys
Currently the CSD lock tunables can only be set at boot time in the kernel commandline, but the way these variables are used means there is really no reason not to tune them at runtime through /sys. Make the CSD lock debug tunables tunable through /sys. Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 40384c8 commit 0e4a19e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/smp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ static DEFINE_PER_CPU(smp_call_func_t, cur_csd_func);
170170
static DEFINE_PER_CPU(void *, cur_csd_info);
171171

172172
static ulong csd_lock_timeout = 5000; /* CSD lock timeout in milliseconds. */
173-
module_param(csd_lock_timeout, ulong, 0444);
173+
module_param(csd_lock_timeout, ulong, 0644);
174174
static int panic_on_ipistall; /* CSD panic timeout in milliseconds, 300000 for five minutes. */
175-
module_param(panic_on_ipistall, int, 0444);
175+
module_param(panic_on_ipistall, int, 0644);
176176

177177
static atomic_t csd_bug_count = ATOMIC_INIT(0);
178178

0 commit comments

Comments
 (0)