Re: [PATCH] [RFCv2] notify userspace about time changes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Wednesday, August 18, 2010 - 4:43 pm

On 08/18/2010 03:57 PM, Andrew Morton wrote:

Actually a much more significant use case was given for the "civil
periodic" type events: something that wants to happen "every day at
noon", for example.  The logical thing of sleeping until the next noon
breaks if the walltime clock is changed.  As such, things like cron have
to resort to wake up once a minute just to assure themselves that they
have nothing to do.  This is inefficient, especially for battery-powered
devices.

Applications which display time aren't really as much affected, since
they generaly wake up every minute or every second anyway.

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [RFCv2] notify userspace about time changes, Alexander Shishkin, (Wed Aug 18, 6:55 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Andrew Morton, (Wed Aug 18, 3:57 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes, H. Peter Anvin, (Wed Aug 18, 4:43 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes, Chris Friesen, (Wed Aug 18, 4:50 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes, Andrew Morton, (Wed Aug 18, 4:53 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes, Andrew Morton, (Wed Aug 18, 9:39 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes, Alexander Shishkin, (Thu Aug 19, 1:21 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Kirill A. Shutemov, (Thu Aug 19, 1:36 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Peter Zijlstra, (Thu Aug 19, 2:50 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Alexander Shishkin, (Thu Aug 19, 4:14 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Kirill A. Shutemov, (Fri Aug 20, 1:37 am)
Re: [PATCH] [RFCv2] notify userspace about time changes, Alexander Shishkin, (Fri Aug 20, 8:38 am)