[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jiffies
On Fri, May 09, 2003 at 01:07:17AM -0500, dan carpenter wrote:
> From: Daniele Bellucci <bellucda@tiscali.it>
>
> > Hi list,
> >
> > i would like to know how does linux kernel handle jiffies variable overflow.
> >
> > -) Is there any check on jiffies's value? where is done?
>
> Tim Schmielau's 64 bit jiffies patch was merged in 2.5.60. The jiffies
> value won't overflow in our life time... ;)
Well, in the 2.4 series a trivial kernel janitor check
->Jiffies and all related variables to jiffies must be unsigned long
And in the >2.5.60 kernels
->Jiffies_64 and related must be u64 or unsigned long long?
Best regards
--
Celso Gonzalez
celso@bulma.net
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/