Re: Memory synchronization vs. interrupt handlers
From: H. Peter Anvin
Date: Wed Aug 28 2013 - 16:29:09 EST
On 08/28/2013 12:16 PM, Alan Stern wrote:
> Russell, Peter, and Ingo:
>
> Can you folks enlighten us regarding this issue for some common
> architectures?
>
On x86, IRET is a serializing instruction; it guarantees hard
serialization of absolutely everything.
I would expect architectures that have weak memory ordering to put
appropriate barriers in the IRQ entry/exit code.
-hpa
--
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/