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

cvs commit: src/sys/kern uipc_mbuf.c uipc_syscalls.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Dec 2005 10:40:56 -0800 (PST)

dillon      2005/12/01 10:40:56 PST

DragonFly src repository

  Modified files:
    sys/kern             uipc_mbuf.c uipc_syscalls.c 
  The primary mbuf cluster management code needs to be made MPSAFE since
  m_free() is now MPSAFE.  This involves using atomic_*() increment and
  decrement for the mbuf cluster ref count and using a serializer if there
  is a potential for a double-free (if the ref count is 2 or greater).  The
  common code path will tend not to need the serializer unless the interface
  is being tapped.
  Reported-by: Peter Avalos <pavalos@xxxxxxxxxxxx>
  Revision  Changes    Path
  1.54      +28 -6     src/sys/kern/uipc_mbuf.c
  1.59      +45 -11    src/sys/kern/uipc_syscalls.c


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