Messages in this thread | | | Date | Fri, 26 Mar 2010 18:39:13 +0100 | From | Frederic Weisbecker <> | Subject | Re: [PATCH] lockdep: Make lockstats counting per cpu |
| |
On Fri, Mar 26, 2010 at 07:52:38AM +0100, Peter Zijlstra wrote: > On Fri, 2010-03-26 at 03:22 +0100, Frederic Weisbecker wrote: > > We can't use irqsafe per cpu counters for that as > > these stats might be also written from NMI path, and irqsafe per > > cpu counters are not NMI safe, but local_t operations are. > > > lockdep shouldn't do NMI, nmi_enter() has an explicit lockdep_off(). >
Ah ok, thanks.
| |