[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCHv4 4/8] arm: provide add_sized()
At 14:49 +0100 on 05 May (1430837355), Ian Campbell wrote: > On Thu, 2015-04-30 at 16:33 +0100, David Vrabel wrote: > > add_sized(ptr, inc) adds inc to the value at ptr using only the correct > > size of loads and stores for the type of *ptr. The add is /not/ atomic. > > atomic.h is an odd place for it then ;-) The reads and writes _are_ atomic, though. It's just that the whole r/m/w is not. Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |