[PATCH] Document Linux's memory barriers [try #2]
Andi Kleen
ak at suse.de
Wed Mar 8 22:38:38 EST 2006
On Wednesday 08 March 2006 19:59, David Howells wrote:
> Alan Cox <alan at redhat.com> wrote:
>
> > then on some NUMA infrastructures the order may not be as you expect.
>
> Oh, yuck!
>
> Okay... does NUMA guarantee the same for ordinary memory accesses inside the
> critical section?
If you use barriers the ordering should be the same on cc/NUMA vs SMP.
Otherwise it wouldn't be "cc"
But it might be quite unfair.
-Andi
More information about the Linuxppc64-dev
mailing list