lkml.org 
[lkml]   [1996]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Jiffies Wraparound (was Re: interrupt counts)




On Mon, 19 Aug 1996, mlord wrote:

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

I would hope not. We always do diff = jiffies - oldtime; GCC handles
the wrap correctly (look at the asm output) if all are the same unsigned
type. What else could go wrong?



\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site