Re: do we still need the jiffies wraparound functions ?

From: Dave Jones
Date: Mon Dec 26 2005 - 23:19:59 EST


On Tue, Dec 27, 2005 at 11:32:41AM +0800, jeff shia wrote:
> Hello,
>
> Under the kernel 2.6.x,the jiffies is defined as u64.We cannot count
> on it to overflow.

You can guarantee it will overflow within a few minutes of booting.
This is done deliberatly to catch jiffy-wrap bugs.

> Do we still need the functions to solve this problem?

yes.

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