On Tue, Apr 20, 2010 at 12:39, Nagaprabhanjan Bellari
<[email protected]> 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.

Just wanna add something and maybe you already realize it: since it
uses negative value while jiffies will be read as unsigned integer, it
will be read as "very big" positive number. Thus, it will reach the
upper limit of integer very quickly

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to