Re: HZ to be 1000 - 2.5.25 may have this

Linux Advanced Routing and Traffic Control

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

 



Adam B. Fineberg wrote:
> Can this be done in 2.4.18 by changing HZ in include/asm-i386/param.h to 
> 1000?

Yes.

> Would anything else need to be changed, like CLOCKS_PER_SEC (also 
> in param.h)?

Hmm, CLOCKS_PER_SEC doesn't look right, particularly if you look at
include/asm-ia64/ia32.h:IA32_CLOCKS_PER_SEC. It's only used for some
obscure parameter-passing mechanism in ELF, so the damage should be
quite limited. (I.e. I've never noticed anything going wrong when
changing HZ, and I didn't realize the CLOCKS_PER_SEC dependency
until now.)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux