summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-16 11:44:06 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-26 18:42:21 +0200
commit1135633bddcf7a819a1490c18d04965c490bcc1e (patch)
tree99facc2b3416a7c00cf042d2f782a87859e30d26 /kernel/rcutree.c
parentrcu: Add memory barriers (diff)
downloadlinux-1135633bddcf7a819a1490c18d04965c490bcc1e.tar.xz
linux-1135633bddcf7a819a1490c18d04965c490bcc1e.zip
rcu: Remove old memory barriers from rcu_process_callbacks()
Second step of partitioning of commit e59fb3120b. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 3731141d8ad7..011bf6f261a2 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1460,25 +1460,11 @@ __rcu_process_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)
*/
static void rcu_process_callbacks(void)
{
- /*
- * Memory references from any prior RCU read-side critical sections
- * executed by the interrupted code must be seen before any RCU
- * grace-period manipulations below.
- */
- smp_mb(); /* See above block comment. */
-
__rcu_process_callbacks(&rcu_sched_state,
&__get_cpu_var(rcu_sched_data));
__rcu_process_callbacks(&rcu_bh_state, &__get_cpu_var(rcu_bh_data));
rcu_preempt_process_callbacks();
- /*
- * Memory references from any later RCU read-side critical sections
- * executed by the interrupted code must be seen after any RCU
- * grace-period manipulations above.
- */
- smp_mb(); /* See above block comment. */
-
/* If we are last CPU on way to dyntick-idle mode, accelerate it. */
rcu_needs_cpu_flush();
}