fetch_and_add() available on PPC Linux?Hi,

Kevin B. Hendricks khendricks at ivey.uwo.ca
Fri Dec 7 01:07:57 EST 2001


Hi,

> See the PPC manual for the lock granule size. I forget what it is off
> the top of my head.

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).

Kevin

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





More information about the Linuxppc-dev mailing list