[lkml]   [2010]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] [RFCv2] notify userspace about time changes
On Thu, Aug 19, 2010 at 11:50, Peter Zijlstra <> wrote:
> On Wed, 2010-08-18 at 16:53 -0700, Andrew Morton wrote:
>> Such applications might be better served via a wake-me-at-this-time
>> syscall instead of a sleep-me-for-this-long syscall.  Although such a
>> thing is less general.
> We have timer_create(.clockid = CLOCK_REALTIME) for such things, no?

Not for repeating events like cron needs.

Say we want to wakeup at 3pm, now it's 4pm, so we schedule it in 23
hours. Now the system time changes to 2pm, and we would expect to
wakeup in one hour, but we take 25.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2010-08-19 12:55    [W:0.126 / U:11.416 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site