Memory barriers and spin_unlock safety

David Howells dhowells at redhat.com
Wed Mar 8 04:36:59 EST 2006


David Howells <dhowells at redhat.com> wrote:

> I suspect, then, that x86_64 should not have an SFENCE for smp_wmb(), and
> that only io_wmb() should have that.

Hmmm... We don't actually have io_wmb()... Should the following be added to
all archs?

	io_mb()
	io_rmb()
	io_wmb()

David



More information about the Linuxppc64-dev mailing list