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

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

 



IIRC this needs recompilation.
Check out <linux/param.h> (i think. This is architecture dependant thing).

On Wednesday 28 February 2007 13:57, Bizhan Gholikhamseh (bgholikh) wrote:
> > -----Original Message-----
> > From: Erik Mouw [mailto:mouw@xxxxxxxxxxxx]
> > Sent: Wednesday, February 28, 2007 3:54 AM
> > To: Bizhan Gholikhamseh (bgholikh)
> > Cc: kernelnewbies@xxxxxxxxxxxx
> > Subject: Re: sleep() API behaves different between 2.4 and 2.6
> >
> > On Wed, Feb 28, 2007 at 03:43:18AM -0800, Bizhan Gholikhamseh
> >
> > (bgholikh) wrote:
> > > From: Erik Mouw [mailto:mouw@xxxxxxxxxxxx]
> > >
> > > > Your 2.6 kernel probably runs with HZ=1000. 2.4 kernels run with
> > > > HZ=100, so the minimum sleep time is actually 1/HZ = 10 msec.
> > >
> > > Is it possible to change the HZ on my 2.4 kernel?
> >
> > I guess it is, IIRC the Alpha arch always ran at HZ=1024. But
> > why would you want yo use a really ancient 2.4 kernel if
> > there's a much better
> > 2.6 kernel which already does what you want to achieve?
>
> 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)?
>
> Thanks,
> B
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ

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