Re: [PATCH 08/13] xen/pvticketlock: disable interrupts whileblocking

From: Peter Zijlstra
Date: Fri Sep 02 2011 - 16:48:45 EST


On Fri, 2011-09-02 at 12:29 -0700, Jeremy Fitzhardinge wrote:
>
> > I know that its generally considered bad form, but there's at least one
> > spinlock that's only taken from NMI context and thus hasn't got any
> > deadlock potential.
>
> Which one?

arch/x86/kernel/traps.c:nmi_reason_lock

It serializes NMI access to the NMI reason port across CPUs.
--
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/