]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcutorture: Add a stall_cpu_repeat module parameter
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:37:49 +0000 (17:37 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 10:53:40 +0000 (16:23 +0530)
commit58cb3210543591c1783a9a884adf27708f19d2a1
tree0f4c0c1199355191045f0f89608274fe032e377d
parentcfdbfb94b3824b8da3a6b21252d24754d0162ab6
rcutorture: Add a stall_cpu_repeat module parameter

This commit adds an stall_cpu_repeat kernel, which is also the
rcutorture.stall_cpu_repeat boot parameter, to test repeated CPU stalls.
Note that only the first stall will pay attention to the stall_cpu_irqsoff
module parameter.  For the second and subsequent stalls, interrupts will
be enabled.  This is helpful when testing the interaction between RCU
CPU stall warnings and CSD-lock stall warnings.

Reported-by: Rik van Riel <riel@surriel.com>
Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/rcu/rcutorture.c