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

From: Chris Friesen
Date: Thu Aug 05 2010 - 10:20:27 EST

On 08/04/2010 06:52 PM, john stultz wrote:
> On Wed, 2010-08-04 at 12:48 -0600, Chris Friesen wrote:
>> On 08/04/2010 09:58 AM, john stultz wrote:
>>> 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.
>> We actually added a time-change-notification mechanism internally a long
>> time ago but never saw demand for it and so never bothered trying to
>> push it upstream. Ours is signal-based.
>> Among other things we use it to pass on time-change notifications to an
>> emulator running a proprietary OS that really cares about having an
>> accurate time-of-day but can't afford a syscall to retrieve it every time.
> So the eventfd based method (and the filtering) proposed would work for
> you?

The eventfd based method would work. The filtering is unnecessary for
us and seems somewhat fragile as currently implemented.


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