Re: [PATCH] bitops: add _local bitops
From: H. Peter Anvin
Date: Wed May 09 2012 - 15:23:55 EST
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
--
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/