Re: [Patch] Re: Nasty suprise with uptime

Miquel van Smoorenburg (miquels@cistron-office.nl)
Fri, 2 Nov 2001 09:10:46 +0000 (UTC)


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/