On Mon, 16 Aug 1999, Andrea Arcangeli wrote:
>
> Maybe I am dreaming, but it seems to me that the wait_even interface has
> SMP races. To make it SMP safe we should enforce read and write ordering
> in the wait_event code.

The spinlocks and atomic operations implied by "wake_up()" and company
make this a non-issue: a spinlock has to guarantee write ordering anyway,
otherwise it wouldn't be an effective spinlock..

So about half of your patch is unnecessary, but the latter half looks
valid.

                Linus

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to