Preempt-RCU: Use softirq instead of tasklets for
authorDipankar Sarma <dipankar@in.ibm.com>
Fri, 25 Jan 2008 20:08:23 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:23 +0000 (21:08 +0100)
commitc2d727aa2ff17a1c8e5ed1e5e231bb8579b27e82
tree76b570288a72c1337920c5e60682316c554f00ee
parentc49443c538c1bbf50eda27e4a3711e9fc15176b0
Preempt-RCU: Use softirq instead of tasklets for

This patch makes RCU use softirq instead of tasklets.

It also adds a memory barrier after raising the softirq
inorder to ensure that the cpu sees the most recently updated
value of rcu->cur while processing callbacks.
The discussion of the related theoretical race pointed out
by James Huang can be found here --> http://lkml.org/lkml/2007/11/20/603

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Dipankar Sarma <dipankar@in.ibm.com>
Reviewed-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/interrupt.h
kernel/rcupdate.c