lkml.org 
[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/13] Turn hrtimers into a range capable timer
On Fri, 12 Sep 2008, Rusty Russell wrote:
> On Tuesday 02 September 2008 09:03:43 Arjan van de Ven wrote:
> > This series is a follow-on the the nanosecond select/poll series.
> >
> > The goal of this series is to introduce the capability into hrtimers to
> > deal with a "range" rather than a specific point in time.
> > (Several people discussed this recently, but we've been toying with the
> > concept for a while)
>
> Hi Arjen, sorry for not replying sooner.
>
> I had half a patch to create a new "timer layer to rule them all" called
> ktimers, which took an explicit "slop" value. Slop is the "how long before

Be warned, the name ktimers has already a bad history. Just ask the
oracle of google :)

> its worth waking the machine for this?" value, with friendly SLOP_USECS,
> SLOP_SECONDS, SLOP_DAYS etc defines. Implemented in terms of normal and hr
> timers, which get deprecated over time.
>
> Heuristics work for a while, but IMHO eventually this is going to have to be
> plumbed through to userspace.

Agreed.

tglx


\
 
 \ /
  Last update: 2008-09-12 22:29    [W:1.236 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site