lkml.org 
[lkml]   [1998]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] jiffies wraparound [Re: 2.1.125 Show stopper list: Draft]
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.181 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site