Re: [PATCH] timers: Introduce the concept of timer slack for legacytimers

From: Arjan van de Ven
Date: Thu Jan 14 2010 - 00:45:36 EST


On Wed, 13 Jan 2010 13:52:19 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> I suppose this could be inlined.

.. and then I expand it a bit in a few weeks and guess who complains an
inline gets too big ? ;-)


> OK, so by default this causes every timer in the system to have a bit
> of slack (unless they're really short-term?),

0.4%.. so yeah you need to sleep a little before it rounds up to 1 ;)


>so the feature does get
> runtime tested.

yep..

>
> But the set_timer_slack() interface has no callers. Perhaps it
> should?

I have some callers pending, and I thought I posted those to lkml but
maybe I did not.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/