Subject: Re: Preparing callout(9) for a HZ-less kernel
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 10/18/2007 23:33:38
On Thu, Oct 18, 2007 at 04:45:10PM -0400, Blair Sadewitz wrote:
> I think LFS might need some modification for this, as there are calls
> to ltsleep() for hz/n where n is 10, 100, or maybe some other multiple
> of 10.  How would this be addressed?

callout_schedule_ms(100) gives you a callback in 1/10s. It figures out
to rest itself, depending on hz or the dynamic timer.

joerg