Re: dynamic-hz

From: Eric St-Laurent
Date: Mon Dec 13 2004 - 19:18:42 EST


On Mon, 2004-12-13 at 14:52 +0000, Alan Cox wrote:

> On a PC it makes huge sense, the deeply embedded folks who do turn the
> thing off for 30secs at a time (Eg cellphone) also want it as do
> virtualisation people where it trashes your scaling. API wise it isn't
> too hard, its just a matter of time to convert the jiffies users away
> and to do relative versions of add_timer with accuracy info included.

Alan,

On a related subject, a few months ago you posted a patch which added a
nice add_timeout()/timeout_pending() API and converted many (if not
most) drivers to use it.

If I remember correctly it did not generate much comments and the work
was not pushed into mainline.

I think it's a nice cleanup, IMHO the time_(before|after)(jiffies, ...)
construct is horrible.

Any chance to resurrect this work ?

PS: the original subject was "Initial bits to help pull jiffies out of
drivers"

Best regards,

Eric St-Laurent


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/