Re: why INITIAL_JIFFIES is -300 * HZ?

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

 



On Tue, 20 Apr 2010, Nagaprabhanjan Bellari wrote:

> I am curious to know why jiffies is initialized with INITIAL_JIFFIES
> which is -300 * HZ? It is mentioned in the source that jiffies, when
> initialized with this value, will make it overflow in 5 minutes.  
> Can somebody tell me how it helps in dealing with jiffy overflow
> issues at a later point in time?   Thanks, -nagp  

  this is simply to test that overflow works -- if there was a problem
with the wraparound code, it would show up quickly.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

[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