fetch_and_add() available on PPC Linux?Hi,

Kevin B. Hendricks kevin.hendricks at sympatico.ca
Fri Dec 7 08:51:38 EST 2001


On December 6, 2001 10:00, Wolfgang Denk wrote:
> In message <20011206140445.TQHJ17034.tomts10-srv.bellnexxia.net at there>
you wrote:
> > I think it is the same as the cache line size (32 bytes for most ppc
> > machines but defintely that cache line size changes for some
> > implementations (so go with at least 32 bytes and you should be safe).
> ...except on embedded CPUs like MPC8xx which have a cache  line  size
> of only 16 bytes

So 32 bytes apart is fine.  That will make it two cache line sizes on your
machine so that more than meets the min lock granularity.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list