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

From: Andi Kleen
Date: Wed Sep 14 2011 - 13:28:48 EST


> If an NMI hits in an interrupt handler, or in the "after hlt" section
> before the write-to-last-nmi-rip, then we'll see that %rip has changed.
> If it hits after the write-to-last-nmi-rip instruction (or in the hlt
> itself), then we'll also see that %rip has changed, due to the effect of
> that instruction.

It won't handle multiple NMIs in halt. I assume that's reasonable common.

-Andi
--
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/