rcutorture: Avoid soft lockup during cpu stall
authorWander Lairson Costa <wander@redhat.com>
Wed, 10 Nov 2021 14:37:45 +0000 (11:37 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:37 +0000 (11:04 +0100)
commitbcf404b305f43c7ee93a2c24e4a4b049d81327cb
treeeef9821f7fd70b6614a4a315f2f79488586fee8c
parentd63ddcee9ff3454a14f440ae684afcdbdc03fcf3
rcutorture: Avoid soft lockup during cpu stall

[ Upstream commit 5ff7c9f9d7e3e0f6db5b81945fa11b69d62f433a ]

If we use the module stall_cpu option, we may get a soft lockup warning
in case we also don't pass the stall_cpu_block option.

Introduce the stall_no_softlockup option to avoid a soft lockup on
cpu stall even if we don't use the stall_cpu_block option.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/rcu/rcutorture.c