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

From: Andi Kleen
Date: Wed Mar 08 2006 - 14:03:24 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/