Re: spin_lock forgets to clobber memory and other smp fixes [was

From: Richard Henderson (rth@twiddle.net)
Date: Thu Sep 07 2000 - 16:15:11 EST


On Thu, Sep 07, 2000 at 09:51:26PM +0400, kuznet@ms2.inr.ac.ru wrote:
> dummy_lock trick is equivalent to "memory" clobber.

No it's not. We know how big the dummy_lock structure is, and
so might "know" that it doesn't overlap with something else.

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:31 EST