Re: smp_rmb in mm/memory.c in 2.6.10

Andi Kleen
2005-01-13T21:06:25Z

> In include/asm-i386/spinlock.h, spin_unlock_string has
> a "xchgb" (in case its required). That should be
> enough of a barrier for the hardware, no?

It is, but only for broken PPros or OOSTORE system
(currently only VIA C3). For kernels compiled for non broken CPUs
there isn't any kind of barrier.

-Andi