cvs commit: src/sys/kern usched_bsd4.c

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list