DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_clock.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Apr 2004 21:30:10 -0800 (PST)

dillon      2004/04/02 21:30:10 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_clock.c 
  Log:
  In the sysclock commit I tried to make 'boottime' a fixed value, but it
  ended up being set to the superblock update time (time of last shutdown)
  rather then the real time clock during boot.
  
  Give up on making it a fixed value and just set it to the current time
  minus the compensated elapsed time (gd->gd_time_seconds) whenever the
  time of day is stepped.  Subsystems which use boottime as an identifier,
  such as NFS, already copy it and this change effectively returns boottime
  operation to its pre-sysclock algorithm.
  
  Reported-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@xxxxxxxxxx> and others
  
  Revision  Changes    Path
  1.19      +4 -3      src/sys/kern/kern_clock.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.18&r2=1.19&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]