DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 May 2005 15:59:20 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]