rcutorture: Remove support for SRCU-lite
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Jul 2025 00:23:28 +0000 (17:23 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:18:44 +0000 (09:48 +0530)
commit941ab0b369c983f7867de54c8579fd7f1676ee3c
treef108a4d2b7e3326afd7aac25c5d115e6d3936345
parentd08d409126d7d5ad2d8ceac77fb97f2d892e9f85
rcutorture: Remove support for SRCU-lite

Because SRCU-lite is being replaced by SRCU-fast, this commit removes
support for SRCU-lite from rcutorture.c

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>
include/linux/srcu.h
kernel/rcu/rcutorture.c