Re: [PATCH] Document Linux's memory barriers [try #2]

Andi Kleen
2006-03-08T19:05:50Z

On Wednesday 08 March 2006 19:59, David Howells wrote:
> Alan Cox <alan@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