Messages in this thread | | | Date | Tue, 24 Jan 2012 15:54:37 -0800 | From | "Paul E. McKenney" <> | Subject | Re: [GIT PULL] RCU changes for v3.3 |
| |
On Wed, Jan 25, 2012 at 12:46:49AM +0100, Eric Dumazet wrote: > Le mardi 24 janvier 2012 à 15:29 -0800, Paul E. McKenney a écrit : > > > And here is another version of the patch. > > > > Thanx, Paul > > > > ------------------------------------------------------------------------ > > > > x86: Avoid invoking RCU when CPU is idle > > > > The idle loop is a quiscent state for RCU, which means that RCU ignores > > CPUs that have told RCU that they are idle via rcu_idle_enter(). There > > are nevertheless quite a few places where idle CPUs use RCU, most commonly > > indirectly via tracing. This patch fixes these problems for x86. > > > > Many of these bugs have been in the kernel for quite some time, but > > Frederic's recent change now gives warnings. > > > > This patch takes the straightforward approach of pushing the > > rcu_idle_enter()/rcu_idle_exit() pair further down into the core > > of the idle loop. > > > > Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > > > > Oh well, just when I decided to sleep a bit, you send a new patch :)
;-) ;-) ;-)
> This seems to remove the warnings at least on my x86_64 server, thanks ! > > Tested-by: Eric Dumazet <eric.dumazet@gmail.com>
Good to hear! Thank you!!! I have added your Reported-by and Tested-by.
Thanx, Paul
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |