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

cvs commit: src/sys/kern uipc_syscalls.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Oct 2008 04:03:29 -0700 (PDT)

sephe       2008/10/30 04:03:29 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  Use atomic_fetchadd_int() to avoid N->0 race when freeing sfbuf.  The
  serializer field is no longer needed.
  
  Hint-from: dillon@
  Reported-by: pavalos@
  Tested-by: pavalos@
  
  Revision  Changes    Path
  1.90      +11 -33    src/sys/kern/uipc_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.89&r2=1.90&f=u



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