Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul E. McKenney and committed by
Neeraj Upadhyay (AMD)
d08d4091 3b16e77e

-14
-1
tools/testing/selftests/rcutorture/configs/rcu/CFLIST
··· 5 5 TREE05 6 6 TREE07 7 7 TREE09 8 - SRCU-L 9 8 SRCU-N 10 9 SRCU-P 11 10 SRCU-T
-10
tools/testing/selftests/rcutorture/configs/rcu/SRCU-L
··· 1 - CONFIG_RCU_TRACE=n 2 - CONFIG_SMP=y 3 - CONFIG_NR_CPUS=6 4 - CONFIG_HOTPLUG_CPU=y 5 - CONFIG_PREEMPT_NONE=y 6 - CONFIG_PREEMPT_VOLUNTARY=n 7 - CONFIG_PREEMPT=n 8 - #CHECK#CONFIG_RCU_EXPERT=n 9 - CONFIG_KPROBES=n 10 - CONFIG_FTRACE=n
-3
tools/testing/selftests/rcutorture/configs/rcu/SRCU-L.boot
··· 1 - rcutorture.torture_type=srcu 2 - rcutorture.reader_flavor=0x4 3 - rcutorture.fwd_progress=3