[lkml]   [2006]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 28/33] Add Xen grant table support
> I object to these uses of (synch_)cmpxchg on a uint16_t in common  
> code.
> Many architectures, including PowerPC, do not support 2-byte atomic
> operations, but this code is common to all Xen architectures.

RMW operations you mean, I suppose. On PowerPC, all (naturally
aligned) halfword operations are atomic; there do not exist any
RMW operations; but word and doubleword atomic RMW operations
can be emulated.

Boils down to the same thing of course, but it isn't the same ;-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-25 21:11    [W:0.375 / U:7.376 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site