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

From: Andi Kleen
Date: Wed Sep 14 2011 - 15:34:47 EST


On Wed, Sep 14, 2011 at 10:26:21PM +0300, Avi Kivity wrote:
> On 09/14/2011 08:28 PM, Andi Kleen wrote:
> >> 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.
> >
>
> Why not?

They all have the same original RIPs and there is no way to distingush
them.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/