]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/rcutree.c
rcu: Fix accelerated grace periods for last non-dynticked CPU
[net-next-2.6.git] / kernel / rcutree.c
index 335bfe4f0076b5cfc8be8de1108cf3f3fad0001b..3ec8160fc75ffa76121cb5d04c948b0f16f3e317 100644 (file)
@@ -1341,6 +1341,9 @@ static void rcu_process_callbacks(struct softirq_action *unused)
         * 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();
 }
 
 static void