cvs commit: src/sys/i386/i386 mp_machdep.c src/sys/i386/isa clock.c src/sys/kern kern_ktr.c src/sys/sys ktr.h

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 6 15:41:14 PST 2005


dillon      2005/12/06 15:37:55 PST

DragonFly src repository

  Modified files:
    sys/i386/i386        mp_machdep.c 
    sys/i386/isa         clock.c 
    sys/kern             kern_ktr.c 
    sys/sys              ktr.h 
  Log:
  Synchronize the TSC between all cpus on startup and provide a sysctl,
  debug.ktr.resynchronize, which will (very expensively) resynchronize the
  TSCs 10 times a second to reduce drift errors to manageable numbers.
  
  The TSC on all the cpus for the purposes of ktrdump's ought to be
  synchronizated within ~200ns of each other, assuming all cpus are running
  at the same frequency.
  
  This needs more work.  What we really need to do is calculate the drift
  for each cpu and apply it dynamically.
  
  Revision  Changes    Path
  1.49      +17 -1     src/sys/i386/i386/mp_machdep.c
  1.44      +11 -5     src/sys/i386/isa/clock.c
  1.7       +98 -2     src/sys/kern/kern_ktr.c
  1.8       +1 -1      src/sys/sys/ktr.h


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/mp_machdep.c.diff?r1=1.48&r2=1.49&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/clock.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_ktr.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/ktr.h.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list