cvs commit: src/sys/kern usched_bsd4.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 23 10:55:29 PDT 2006


dillon      2006/04/23 10:48:59 PDT

DragonFly src repository

  Modified files:
    sys/kern             usched_bsd4.c 
  Log:
  The nticks calculation is still broken.  Sometimes the delta systimer
  value is less then the periodic value.  This has been tracked down to
  a 32 bit overflow, but 32 bit overflows are SOP for systimers.  The
  actual bug is related to lwp_slptime.  lwp_slptime is supposed to detect
  that an overflow might have occured but apparently it can wind up 0 in
  certain cases which have yet to be tracked down.
  
  For now just sanitize nticks.
  
  Reported-by: "Simon 'corecode' Schubert" <corecode at xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.8       +5 -1      src/sys/kern/usched_bsd4.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/usched_bsd4.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list