Re: [Patch] Re: Nasty suprise with uptime

Miquel van Smoorenburg
2001-11-02T09:11:05Z

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.