From: Chris Friesen <cfriesen@nortelnetworks.com>
To: george@mvista.com
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: question about linux time change
Date: Tue, 12 Oct 2004 18:34:59 -0600 [thread overview]
Message-ID: <416C7833.7000000@nortelnetworks.com> (raw)
In-Reply-To: <416C6A33.6030202@mvista.com>
George Anzinger wrote:
> Chris Friesen wrote:
>
>>
>> I have been asked to add the ability to notify userspace when the time
>> of day changes. The actual notification is the easy part. I'm having
>> issues with where exactly the time is really changed.
>
>
> Just what sort of time changes do you want to notify on? The ntp code
> "drifts" time a lot. Do you want to know about this? If it is only
> cases where there is a jump in time, you might do well to look at
> "clock_was_set()". It is in kernel/posix-timers.c and is called when
> ever do_settimeofday() is called AND on leap second calls.
>
> You will even find code in there to push the ladder out of the softirq
> context.
Cool. Will do.
Chris
prev parent reply other threads:[~2004-10-13 0:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 21:06 question about linux time change Chris Friesen
2004-10-12 23:35 ` George Anzinger
2004-10-13 0:34 ` Chris Friesen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=416C7833.7000000@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox