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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: john stultz
Date: Wednesday, August 4, 2010 - 8:58 am

On Wed, 2010-08-04 at 15:48 +0300, Alexander Shishkin wrote:

So NTP doesn't actually care, as it will notice the STA_UNSYNC flag is
set the next time it checks adjtimex.

The clock apps example seems reasonable, but maybe isn't the most
compelling argument for adding a new kernel api.

Is there a actual use case that you need this for?  I don't really have
an issue with the code I just really want to make sure the feature would
be useful enough to justify the API and code maintenance going forward.

Doing some of my own googling, I see Apple added such a notification
method, which suggests there are apps that want this. 
http://stackoverflow.com/questions/690326/how-can-i-get-notified-of-a-system-time-chan...

But it doesn't give any specific examples either.

thanks
-john


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

Messages in current thread:
[PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Wed Aug 4, 5:48 am)
Re: [PATCH] [RFC] notify userspace about time changes, Bastien ROUCARIES, (Wed Aug 4, 5:54 am)
Re: [PATCH] [RFC] notify userspace about time changes, Kirill A. Shutemov, (Wed Aug 4, 8:32 am)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Wed Aug 4, 8:46 am)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Wed Aug 4, 8:49 am)
Re: [PATCH] [RFC] notify userspace about time changes, john stultz, (Wed Aug 4, 8:58 am)
Re: [PATCH] [RFC] notify userspace about time changes, Chris Friesen, (Wed Aug 4, 11:48 am)
Re: [PATCH] [RFC] notify userspace about time changes, Kirill A. Shutemov, (Thu Aug 5, 3:05 am)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Thu Aug 5, 5:33 am)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Thu Aug 5, 5:39 am)
Re: [PATCH] [RFC] notify userspace about time changes, Chris Friesen, (Thu Aug 5, 7:10 am)
Re: [PATCH] [RFC] notify userspace about time changes, H. Peter Anvin, (Thu Aug 5, 3:34 pm)
Re: [PATCH] [RFC] notify userspace about time changes, H. Peter Anvin, (Thu Aug 5, 3:43 pm)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Fri Aug 6, 12:11 am)
Re: [PATCH] [RFC] notify userspace about time changes, Alexander Shishkin, (Fri Aug 6, 12:21 am)
Re: [PATCH] [RFC] notify userspace about time changes, Bastien ROUCARIES, (Fri Aug 6, 12:43 am)