diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2010-06-21 16:57:42 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-08-19 17:18:01 -0700 |
commit | e546f485e1d7520ca0200502cdcc11b503f4805c (patch) | |
tree | 14a62f4f56eb6bb96f2621b5334dac5a3c5c4160 /kernel/rcutree.c | |
parent | 84483ea42cd4f2781d6e97a83ab3ebd0ff19fb10 (diff) | |
download | op-kernel-dev-e546f485e1d7520ca0200502cdcc11b503f4805c.zip op-kernel-dev-e546f485e1d7520ca0200502cdcc11b503f4805c.tar.gz |
rcutorture: add random preemption
Add random preemption to help we to torture the preemptable rcu.
srcu_read_delay() also calls rcu_read_delay() for shorter delays.
Added comment to preempt_schedule() call indicating that no quiescent
states happen if preemption is disabled.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree.c')
0 files changed, 0 insertions, 0 deletions