Re: /proc/stat interface and 32bit jiffies / kernel_stat

From: Tim Schmielau (
Date: Fri Nov 15 2002 - 11:17:37 EST

On Fri, 15 Nov 2002, Mario 'BitKoenig' Holbe wrote:

[system idle time will overflow after about 497/NR_CPUS days]
> Since it should not be a big problem to fix this, to
> at least reduce the problem back to the 500 days
> jiffies-overflow problem, I'd suggest to do so.
> No need to mention, that 64bit jiffies and statistics on
> all platforms at all would be great :)

2.5 has 64 bit jiffies (but not (yet?) 64 bit statistics).

A patch for 2.4 that fixes the overflow in proc_stat as well as
introducing 63 bit jiffies is at

> Btw... Could anybody please explain me the problems to
> expect while a jiffies overflow? Would a kernel possibly
> survive this at all and if, what's the chance to? :)

"ps" will report processes started before the jiffies wrap as being
started in the future, but this won't do any harm.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:38 EST