lkml.org 
[lkml]   [1996]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectJiffies Wraparound (was Re: interrupt counts) (fwd)
Date
Forwarded message:
> From: mlord <mlord@pobox.com>
> Newsgroups: linux.dev.kernel
> Subject: Jiffies Wraparound (was Re: interrupt counts)
> Date: Mon, 19 Aug 1996 21:57:35 -0400

> Jon Lewis wrote:
> >
> > Just out of curiosity, what's going to happen in about 2 months when my
> > irq 11 counter hits 4294967296? Will it happily wrap, or are things
> > likely to get upset?
>
> The one that really worries me is having the "jiffies" wrap around,
> an event which will happen every 17 months or so on production systems.
>
> A *lot* of the kernel will malfunction when that happens.

Its not supposed to break anything, but I doubt it has ever been tested.
Something that might be interesting is to compile a kernel with the counter
pre-initialized so that it will overflow in about 5 minutes. Then some
network connections, compilers, etc. could be started up, and we could
see what happened when it overflowed.

Jim

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