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

From: Andrew Morton
Date: Wed Aug 18 2010 - 18:58:15 EST


On Wed, 18 Aug 2010 16:55:39 +0300
Alexander Shishkin <virtuoso@xxxxxxxxx> wrote:

> Certain userspace applications (like "clock" desktop applets or cron) might
> want to be notified when some other application changes the system time.

The requirements sound a bit fluffy to me.

Any time-displaying application will find out the new time next time
it reads the time. So afaict this is only really useful for clock
applets which display once per minute, so they will show the new time
promptly after the time was altered, yes? Is that really worth adding
new code for?

> It
> might also be important for an application to be able to distinguish between
> its own and somebody else's time changes.

hm. Why? What are you thinking of here, specifically?

Also... what's the story with kernel-NTP updates?
--
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/