On 06/14/2017 12:22 PM, Andre Przywara wrote:
As for the readability argument of "ACCESS_ONCE(*ptr) = foo;": I agree, but was wondering why we don't have Linux' READ_ONCE/WRITE_ONCE pairs in the first place. I see that the implementation of them is nicely merged into one macro, but maybe we should have wrappers to improve readability? Not sure that's something for this patch, though. So can we postpone this for the rework? This will be touched anyway because it's dealing with a rank.
I think nobody looked at importing WRITE_ONCE/READ_ONCE on Xen. Feel free to send a patch :).
Anyway, I am happy to postpone for the rework. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel