cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at FreeBSD.org
Wed Aug 25 14:24:36 PDT 2004


rwatson     2004-08-25 21:24:36 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_usrreq.c 
  Log:
  Don't hold the UNIX domain socket subsystem lock over the body of the
  UNIX domain socket garbage collection implementation, as that risks
  holding the mutex over potentially sleeping operations (as well as
  introducing some nasty lock order issues, etc).  unp_gc() will hold
  the lock long enough to do necessary deferal checks and set that it's
  running, but then release it until it needs to reset the gc state.
  
  RELENG_5 candidate.
  
  Discussed with: alfred
  
  Revision  Changes    Path
  1.140     +15 -8     src/sys/kern/uipc_usrreq.c


More information about the cvs-src mailing list