Re: RCU question

From: Manfred Spraul
Date: Sun Dec 12 2004 - 04:00:45 EST


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?

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