Messages in this thread | | | Subject | Re: [PATCH tip/core/rcu 01/14] rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE() | From | Davidlohr Bueso <> | Date | Fri, 09 Jan 2015 16:27:01 -0800 |
| |
On Fri, 2015-01-09 at 22:58 +0100, Christian Borntraeger wrote: > When we talk about changing the parameters it might make sense to also think about some comments from George Spelvin and consider a rename to WRITE_ONCE or STORE_ONCE (READ_ONCE --> LOAD_ONCE). Unfortunately there doesnt seem to be a variant that is fool proof (in the sense of Rustys guideline that a good interface cannot be used wrong). So any proposal in that regard would be very welcome.
I think any of those two names are a lot better than what we have now. I'm a bit inclined towards LOAD/STORE though. That, and reordering the arguments for stores would make it pretty fool proof imo.
Thanks, Davidlohr
| |