Re: [PATCH *] use 64 bit jiffies

Tim Schmielau
2003-02-17T14:16:38Z

On Mon, 17 Feb 2003, Matti Aarnio wrote:

> This will store constants into jiffies_msb_flips:
> ("1" for DEBUG_JIFFIESWRAP, "0" otherwise.)
> Wouldn't zero be what will always be needed ?

No - this is exactly what is intended. Note that jiffies_msb_flips counts
flips of the MSB of jiffies, i.e., it's LSB should always be equal to the
MSB of jiffies.
We use it as a measure of whether jiffies_msb_flips is still up to date -
when the msb of jiffies flip, we have 2^31/HZ seconds to detect that
in the timer routine.

Tim