cvs commit: src/sys/kern

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 17 02:53:47 PDT 2004


dillon      2004/09/17 02:53:27 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_timeout.c 
  Log:
  Fix a race on SMP systems.  Since we might block while obtaining the MP
  lock we have to check sc->next to see if we raced a deletion of our
  callout, and loop if we did.
  
  Revision  Changes    Path
  1.13      +33 -19    src/sys/kern/kern_timeout.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_timeout.c.diff?r1=1.12&r2=1.13&f=u





More information about the Commits mailing list