lkml.org 
[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/stat interface and 32bit jiffies / kernel_stat
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
http://www.physik3.uni-rostock.de/tim/kernel/2.4/jiffies64-20.patch.gz

>
> 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.

Tim

-
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:31    [W:0.044 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site