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:47:33
On Thu, Oct 18, 2007 at 10:43:11PM +0100, Andrew Doran wrote:
> ltsleep/mtsleep are obsoleted by condvars for most uses. I now think I made
> a mistake with the condvars and that they should accept an absolute wakeup
> time instead of a delta. That's easy enough to do except for handling the
> effects of changing the system clock.
I think the delta in itself is fine, just the measurement is wrong. I
would like to adopt the cv_wait API to use similiar precision as well.
Joerg