Provide ACCESS_ONCE and use it where it was inlined in READ_ONCE and
WRITE_ONCE. This will allow us to use the Linux KPI version of
compiler.h rather than the ancient copy of it for OpenZFS.
Sponsored by: Netflix
Differential D46145
linuxkpi: Small tweaks to _ONCE macros imp on Jul 25 2024, 11:57 PM. Authored by Tags None Referenced Files
Details
Provide ACCESS_ONCE and use it where it was inlined in READ_ONCE and Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions It does undo the ACCESS_ONCE part of it, but doesn't undo the proper uintptr_t casting part. Oh, but I see the const cast is there for READ... So once I do all that, I can just drop this commit.... |