cvs commit: src/sys/kern lwkt_serialize.c src/sys/i386/include atomic.h

Matthew Dillon dillon at crater.dragonflybsd.org
Wed May 25 15:59:46 PDT 2005


dillon      2005/05/25 15:59:20 PDT

DragonFly src repository

  Modified files:
    sys/kern             lwkt_serialize.c 
    sys/i386/include     atomic.h 
  Log:
  Fix a race in the serializer's use of atomic_intr_cond_enter().  When
  the procedure call is made the serializer must enter a critical section
  and check the bit again before actually sleeping to avoid a race against
  wakeup().
  
  Revision  Changes    Path
  1.3       +10 -1     src/sys/kern/lwkt_serialize.c
  1.12      +13 -0     src/sys/i386/include/atomic.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_serialize.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/atomic.h.diff?r1=1.11&r2=1.12&f=u





More information about the Commits mailing list