]> err.no Git - linux-2.6/commit
Preempt-RCU: fix rcu_barrier for preemptive environment.
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 25 Jan 2008 20:08:24 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:24 +0000 (21:08 +0100)
commite0ecfa7917cafe72f4a75f87e8bb5d8d51dc534f
tree92106dbd88530d3884bc6c4d1c088cba1ad8630e
parent01c1c660f4b8086cad7a62345fd04290f3d82c8f
Preempt-RCU: fix rcu_barrier for preemptive environment.

Fix rcu_barrier() to work properly in preemptive kernel environment.
Also, the ordering of callback must be preserved while moving
callbacks to another CPU during CPU hotplug.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Dipankar Sarma <dipankar@in.ibm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcuclassic.c
kernel/rcupdate.c