rcu: add rcu_barrier_sched() and rcu_barrier_bh()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 12 May 2008 19:21:05 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 May 2008 08:01:36 +0000 (10:01 +0200)
commit70f12f848d3e981479b4f6f751e73c14f7c13e5b
treef964e121463ab2f6b697f043bf487017bc85d635
parent8db559b83009bed92e1b5dd13a651ff273d9ff62
rcu: add rcu_barrier_sched() and rcu_barrier_bh()

Add rcu_barrier_sched() and rcu_barrier_bh().  With these in place,
rcutorture no longer gives the occasional oops when repeatedly starting
and stopping torturing rcu_bh.  Also adds the API needed to flush out
pre-existing call_rcu_sched() callbacks.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/rcupdate.h
kernel/rcupdate.c