Thread (14 messages) flat view 14 messages, 8 authors, 2003-05-15

Re: set_rtc_time() cleanup / normalization

From: Richard Zidlicky <hidden>
Date: 2003-05-13 12:03:51

quoted
On m68k, we removed that part because it confused NTP. Richard Zidlicky can
probably tell more about that.
more specific, syncinc systime with NTP could confuse hwclock,
see eg the thread following

http://marc.theaimsgroup.com/?l=linux-kernel&m=100448857801670&w=2

Although workarounds are possible, there are some more reasons
to dislike the hwclk update code in arch/*kernel/time.c:

- RTC should be accessed by proper rtc device driver only
- magic updates may confuse hwclock, adjtimex and other programs,
  some programs need to use workarounds to avoid triggering it.
- everything it does can be done much better by userspace
  accessing /dev/rtc
- implements policy and thus doesn´t belong into kernel
- getting rid of it saves a few clock cycles on every timer
  interrupt
- nobody can positively expect it to work, iirc many HW
  variants were never supported -> nothing can break if
  it is killed


Richard

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help