Re: [PATCH] bitops: add _local bitops

H. Peter Anvin
2012-05-09T19:23:59Z

On 05/09/2012 12:19 PM, Andrew Morton wrote:
>
> Secondly: can KVM just use __set_bit() and friends? I suspect those
> interfaces happen to meet your requirements. At least on architectures
> you care about.
>

__set_bit() and friends right now don't have optimization barriers,
meaning the compiler is free to move them around.

-hpa