Re: [patch] new spinlock variant, spinlock-2.3.30-A4

Andrea Arcangeli (andrea@suse.de)
Fri, 3 Dec 1999 21:46:57 +0100 (CET)


On Tue, 30 Nov 1999, Ingo Molnar wrote:

>no, spin_lock() must guarantee that instructions within the critical
>section only execute at one CPU at once. Ie. all effects of the critical

Without the lock on the bus reads could happen before the spin_lock().
Thus instructions into the critical section would execute on two CPUs at
the same time.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/