lkml.org 
[lkml]   [2008]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/13] hrtimer: turn hrtimers into range timers
On Tue, 02 Sep 2008 15:47:07 +0200
Peter Zijlstra <peterz@infradead.org> wrote:

> > (it's not perfect by any means but it works ;-)
>
> Gah, right. How about adding the following:
>
> /*
> * The immediate goal is minimizing wakeups, not running
> * timers at the earliest interrupt after their soft expiration.
> * This allows us to avoid using a Priority Search Tree,
> * which can answer a stabbing querry for overlapping
> * intervals and instead use the simple BST we already have.
> * We don't add extra wakeups by delaying timers that are
> * right-of a not yet expired timer, because that timer will
> * have to trigger a wakeup anyway.
> */

fair enough; I'll merge this in (I'm not going to resend the whole
series just for this redo though... maybe when there's more feedback
I'll roll it all up)
thanks!

--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2008-09-02 18:05    [W:0.813 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site