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

Re: PIT, HZ, and devices



On Mon, Feb 11, 2002 at 03:06:39PM -0700, Tom Bradley wrote:
> It doesn't sound like a good idea to me. For one, any timing that is 
> dependant upon this will be off. I do believe that uptime and sleep are 
> dependant on jiffies which is incremented by the PIT (correct me if I am 
> wrong).  It is also the interrupt that decrements your time quantum for 
> scheduling. By changing the HZ value you will be changing your systems 
> performance. 

jiffies is not incremented by the PIT. jiffies is an ordinary variable
which is incremented by the kernel's ISR for the timer interrupt.


Cheers,
Bill
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/