lkml.org 
[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Patch] Re: Nasty suprise with uptime
Date
In article <20011101182334.P16554@lynx.no>,
Andreas Dilger <adilger@turbolabs.com> wrote:
>Probably need to make idle a 64-bit value as well, even if the individual
>items are not, just to avoid potential overflow...

Well idle will still overflow after a bit more than 497 days on a
typical system that is 99% idle, if init_tasks[0]->times.tms_{u,s}time
are left at 32 bits.

Mike.
--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former" -- Albert Einstein.

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

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