Re: RCU question
From: Zwane Mwaikambo
Date: Sun Dec 12 2004 - 11:28:20 EST
On Sun, 12 Dec 2004, Manfred Spraul wrote:
> Zwane Mwaikambo wrote:
>
> > "Intel processors don't suppress SMI or NMI after an STI instruction. Since
> > the INTR suppresion is not preserved across an SMI or NMI handler, this may
> > result in an INTR being serviced after the STI, which constitutes a
> > violation of the INTR suppresion.
> >
> Interesting find.
> It means that our NMI irq return path should check if it points to a hlt
> instruction and if yes, then increase the saved EIP by one before doing the
> iretd, right?
Yeah that should do it, but then we also have to worry about SMIs, perhaps
we could add similar logic to interrupt return path instead?
-
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/