lkml.org 
[lkml]   [2011]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] hrtimers: Add CLOCK_BOOTTIME clockid, hrtimerbase and posix interface
From
Date
On Tue, 2011-02-01 at 15:16 +0100, Thomas Gleixner wrote:
> On Mon, 31 Jan 2011, John Stultz wrote:
>
> > CLOCK_MONOTONIC stops while the system is in suspend. This is because
> > to applications system suspend is invisible. However, there is a
> > growing set of applications that are wanting to be suspend-aware,
> > but do not want to deal with the complicatoins of CLOCK_REALTIME
> > (which might jump around if settimeofday is called).
> >
> > For these applications, I propose a new clockid: CLOCK_BOOTTIME.
> > CLOCK_BOOTTIME is idential to CLOCK_MONOTONIC, except it also
> > includes any time spent in suspend.
> >
> > This patch adds the new CLOCK_BOOTTIME clockid, as well as the
> > infrastructure needed to support hrtimers against it, and the
> > wiring to expose it out via the posix interface.
>
> Can you please split that into parts:
>
> - Add the new functions
> - Wire up hrtimers, posix-timers

Will do. And will rebase to tip/timers/core.

thanks
-john




\
 
 \ /
  Last update: 2011-02-01 19:37    [from the cache]
©2003-2011 Jasper Spaans