Re: [PATCH] lockdep: Make lockstats counting per cpu

From: Peter Zijlstra
Date: Fri Mar 26 2010 - 02:53:02 EST


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().

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/