Re: [patch] waitqueue optimization, 2.4.0-test7

From: Richard Henderson (rth@twiddle.net)
Date: Tue Aug 29 2000 - 11:21:22 EST


On Tue, Aug 29, 2000 at 04:26:18AM +0200, Andrea Arcangeli wrote:
> Just to make a fun example if the virtual address of ld_l/st_c are
> different but within the same 16bytes natuarlly aligned block you have to
> put an mb() in __between__ ld_l/st_c to make sure that they are not
> reordered and that none write happened in between from another CPU.

Actually, if you'll look elsewhere you'll see that you cannot mismatch
the two addresses and expect it to work on all implementations.

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 Aug 31 2000 - 21:00:23 EST