Re: sleep() API behaves different between 2.4 and 2.6

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

 



On Wednesday 28 February 2007 13:57, Bizhan Gholikhamseh (bgholikh) wrote:
> Actually we are running dual Xeon Pentium processor. Unfortunatle we
> need to support 2.4 for legacy issues. Is there any way I could change
> HZ on my 2.4 kernel (hopefully with no side effect)?

IIRC this needs recompilation.
Check out <linux/param.h> (i think. This is architecture dependant thing).
change your specific asm/param.h #define HZ 100 to 1000 and make clean; make 
the kernel again. I understand this was common practice in 2.4 kernels. 
However, kernel developers warns that they know what is good for you :)
Check out LDD3 -> Chapter 7.1

-- 
Regards,
        Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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