From: Paul E. McKenney Date: Fri, 10 Jan 2025 23:28:06 +0000 (-0800) Subject: rcutorture: Make scenario SRCU-P use srcu_read_lock_fast() X-Git-Tag: v6.15-rc1~221^2^4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c143bac019152c4aa34b5fbd000df28ca818f2f1;p=thirdparty%2Flinux.git rcutorture: Make scenario SRCU-P use srcu_read_lock_fast() This commit causes the rcutorture SRCU-P scenario use the srcu_read_lock_fast() and srcu_read_unlock_fast() functions. This will cause these two functions to be regularly tested by several developers (myself included), for example, those who use torture.sh as an RCU acceptance test. Signed-off-by: Paul E. McKenney Signed-off-by: Boqun Feng --- diff --git a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot index 2db39f298d182..fb61703690cb3 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot @@ -2,3 +2,4 @@ rcutorture.torture_type=srcud rcupdate.rcu_self_test=1 rcutorture.fwd_progress=3 srcutree.big_cpu_lim=5 +rcutorture.reader_flavor=0x8