]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rcutorture: Remove SRCU-lite scenarios
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Jul 2025 00:23:27 +0000 (17:23 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:18:28 +0000 (09:48 +0530)
commitd08d409126d7d5ad2d8ceac77fb97f2d892e9f85
tree90ae505f4ff74111da4ea5f9323ceb3ed96c4a25
parent3b16e77e0706eb6cdfc850956ee1ed5e5c36c6ca
rcutorture: Remove SRCU-lite scenarios

This commit prepares for the removal of SRCU-Lite by removing the SRCU-L
rcutorture scenario that tests it.

Both SRCU-lite and SRCU-fast provide faster readers by dropping the
smp_mb() call from their lock and unlock primitives, but incur a pair
of added RCU grace periods during the SRCU grace period.  There is a
trivial mapping from the SRCU-lite API to that of SRCU-fast, so there
should be no transition issues.

[ paulmck: Apply Christoph Hellwig feedback. ]

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/configs/rcu/CFLIST
tools/testing/selftests/rcutorture/configs/rcu/SRCU-L [deleted file]
tools/testing/selftests/rcutorture/configs/rcu/SRCU-L.boot [deleted file]