Re: what will happen when the jiffies overflow ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Sep 20, 2012 at 7:09 AM, Fan Yang <lljyangfan@xxxxxxxxx> wrote:
> hi all:
>        As far as I known, the var jiffies in the kernel will overflow after
> 497days as the Hz defined 100. So what waill happen when the jiffies
> overflow?

It will start back at zero.

Everything should continue to work as before.

In fact, jiffies are initialized to -300 seconds, so that it will
overflow 5 minutes after startup, just to verify that everything works
properly.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux