Re: SMP syncronization on AMD processors (broken?)

From: Christopher Friesen
Date: Tue Oct 11 2005 - 21:27:44 EST

linux@xxxxxxxxxxx wrote:

The right thing to do here is to wait for the flag to be set *outside*
the lock, and then re-validate inside the lock:

This may work on some processors, but on others the read of "progress" in XXX, or the write in YYY may require arch-specific code to force the update out to other cpus.

Alternately, explicitly atomic operations should suffice, but a simple increment is probably not enough for portable code.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at