x86: fix synchronize_rcu(): high latency on idle system
[powerpc.git] / arch / x86 / kernel / process_32.c
index 7a61b54..69a69c3 100644 (file)
@@ -198,6 +198,9 @@ void cpu_idle(void)
                        rmb();
                        idle = pm_idle;
 
+                       if (rcu_pending(cpu))
+                               rcu_check_callbacks(cpu, 0);
+
                        if (!idle)
                                idle = default_idle;