Re: Jiffies Wraparound (was Re: interrupt counts)

Mike Kilburn (mike@conexio.co.za)
Tue, 20 Aug 1996 08:15:58 +0200 (SAT)


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?