Re: [patch] jiffies wraparound [Re: 2.1.125 Show stopper list: Draft]

Andrea Arcangeli (andrea@e-mind.com)
Sun, 18 Oct 1998 16:21:35 +0200 (CEST)


On Sun, 18 Oct 1998, Andrea Arcangeli wrote:

>>shouldnt the (idx < 0xffffffffUL) condition be: (idx <= 0xffffffffUL)?
>
>Yes, thanks.
>
>Note that also the (expires < timer_jiffies) is wrong it should be
>(signed long)idx<0.

And using (long)idx<0 we don' t need to worry about idx<~0UL but adding <=
is more right since it make simpler to uderstand that we want to go ahead
only in 64bit hardware.

Andrea Arcangeli

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