]> git.ipfire.org Git - thirdparty/linux.git/commit
torture: Remove support for SRCU-lite
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Jul 2025 00:23:26 +0000 (17:23 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:14:44 +0000 (09:44 +0530)
commitcbd5d35e6ddc47b4cde5c96a0d5f00da0f8e881f
treeb39b185c47fddfa912d84db22ebf3430ce7d8f20
parent748d7923b53ff7bcb3d825ef765d8461d7af1794
torture: Remove support for SRCU-lite

Because SRCU-lite is being replaced by SRCU-fast, this commit removes
support for SRCU-lite from refscale.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>
kernel/rcu/refscale.c