From: Paul E. McKenney Date: Thu, 21 Jun 2018 23:17:46 +0000 (-0700) Subject: rcutorture: Test extended "rcu" read-side critical sections X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~6130^2^2^2~112 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=c0335743c5d80233753d81a4c7d22b7437363a8f;p=linux.git rcutorture: Test extended "rcu" read-side critical sections This commit makes the "rcu" torture type test extended read-side critical sections in order to test the deferral of RCU-preempt quiescent-state testing. In CONFIG_PREEMPT=n kernels, this simply duplicates the setup already in place for the "sched" torture type. Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index c596c6f1e457..c55d1483886e 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -431,6 +431,7 @@ static struct rcu_torture_ops rcu_ops = { .stats = NULL, .irq_capable = 1, .can_boost = rcu_can_boost(), + .extendables = RCUTORTURE_MAX_EXTEND, .name = "rcu" };