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