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
========================================================================