Subject: Re: Preparing callout(9) for a HZ-less kernel
To: Jason Thorpe <>
From: Andrew Doran <>
List: tech-kern
Date: 10/19/2007 19:00:26
On Fri, Oct 19, 2007 at 10:48:36AM -0700, Jason Thorpe 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.
> What do Solaris's condvars do?

They take an absolute count of clock ticks. We could just as easily take
milliseconds. I think that is unlikely to pose any difficulty for porting
ZFS sources or whatever.