Hi,

I am trying to understand why we decided to implement the helpers read_atomic, write_atomic, add_sized in assembly rather than directly in C.

AFAICT implementation in C similar to Linux helpers WRITE_ONCE/READ_ONCE would work here. Did I miss anything?

Note that the naming is also confusing as it is easily to mix with the atomic_read, atomic_write helpers.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to