Re: jiffies wraparound

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Mar 16 2000 - 14:56:41 EST


On Wed, 15 Mar 2000, Nicholas Vinen wrote:

>expect, if anyone is making poor assumptions about jiffies). Has anyone ever
>edited the kernel so that jiffies starts at 0xFFF00000 at boot to see what
>happens, and fix any ensuing problems?

We did that before 2.2.x. We found and fixed all the design problem
related to jiffies wrap arounds and audited all the drivers before
2.2.x.

> My theory has always been, if all you ever do is subtract jiffies counts
>from each other, then you're fine, as long as no period you're measuring is
>> 2^31 units (highly unlikely). I guess checking that no other operations

That's the way we handle that infact.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:21 EST