Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 21:24:36 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_usrreq.c
Message-ID:  <200408252124.i7PLOaHa084709@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408252124.i7PLOaHa084709>