logo       

Re: [Kernel-janitors] nicedelay(): HZ problem ?: msg#00163

Subject: Re: [Kernel-janitors] nicedelay(): HZ problem ?
On Mon, May 24, 2004 at 04:31:36PM +0200, Walter Harms wrote:
> 
> Hi Domen,
> I think you have found a bug. HZ is not constant by architecture
> (for alpha  1024 or 1200). 
> this looks better for me:
> 
> schedule_timeout(usecs*HZ/10000);
> 
> can somebody with knowledge on HZ comment on this ?

Use msleep() as it does it all for you correctly :)

thanks,

greg k-h
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@xxxxxxxxxxxxxx
http://lists.osdl.org/mailman/listinfo/kernel-janitors
<Prev in Thread] Current Thread [Next in Thread>