rcutorture: Occasionally delay readers enough to make RCU force_quiescent_state
authorJosh Triplett <josh@joshtriplett.org>
Tue, 8 Sep 2009 22:54:35 +0000 (15:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Sep 2009 22:05:34 +0000 (00:05 +0200)
commitb8d57a76d9f92aa63b4f12990da5697b17000b0c
treea3be4dafddde67043deaf9a9dbf2a26bc7b7c80a
parentb835db1f9cadaf008750a32664e35a207782c95e
rcutorture: Occasionally delay readers enough to make RCU force_quiescent_state

rcutorture already delays readers, but never for long enough to
make RCU force a quiescent state.  Add an occasional delay of
50ms.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: josht@linux.vnet.ibm.com
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
LKML-Reference: <12524504772607-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcutorture.c