Commit c0335743 authored by Paul E. McKenney's avatar Paul E. McKenney

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 3e310098
...@@ -431,6 +431,7 @@ static struct rcu_torture_ops rcu_ops = { ...@@ -431,6 +431,7 @@ static struct rcu_torture_ops rcu_ops = {
.stats = NULL, .stats = NULL,
.irq_capable = 1, .irq_capable = 1,
.can_boost = rcu_can_boost(), .can_boost = rcu_can_boost(),
.extendables = RCUTORTURE_MAX_EXTEND,
.name = "rcu" .name = "rcu"
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment