Re: [PATCH] [RFC] notify userspace about time changes
From: john stultz
Date: Wed Aug 04 2010 - 20:52:56 EST
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/