[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lazy page reclamation on SMP machines: memory barriers



Hi,

On Mon, 23 Mar 1998 15:20:11 -0800 (PST), Linus Torvalds
<torvalds@transmeta.com> said:

> Intel guarantees total ordering around any locked instruction, so the
> spinlocks themselves act as the barriers. 

Fine.  Can we assume that spinlocks and atomic set/clear_bit
instructions have the same semantics on other CPUs?

I'm in London until the weekend, but I hope to have the lazy page
stealing in a fit state to release shortly after getting back thanks to
this.

--Stephen