Re: spin_unlock optimization(i386)

Gerard Roudier (groudier@club-internet.fr)
Sat, 27 Nov 1999 02:26:52 +0100 (MET)


On Sat, 27 Nov 1999, Ingo Molnar wrote:

> in fact it's the overflow situation that triggers a causality violation
> even on dual boxes. Code attached, it produces:

Why not using (int)(b - a) > 0 instead of b < a. Doing so you shouldn't
have to care about overflow situations.
(I did miss so many things from this thread that I will not be surprised
this to still happen.:))

Gérard.

-
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/