[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lazy page reclamation on SMP machines: memory barriers
Date: Tue, 24 Mar 1998 22:54:18 GMT
From: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>
> 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?
Yes, you certainly can for spinlocks.
Later,
David S. Miller
davem@dm.cobaltmicro.com