lkml.org 
[lkml]   [2004]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: question about linux time change
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.039 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site