Date: Thu, 2 Sep 2004 03:21:40 +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: <200409020321.i823LeY5034319@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-09-02 03:21:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/kern uipc_usrreq.c
Log:
Merge uipc_usrreq.c:1.140 to RELENG_5:
date: 2004/08/25 21:24:36; author: rwatson; state: Exp; lines: +15 -8
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.
Discussed with: alfred
Approved by: re (kensmith)
Revision Changes Path
1.138.2.2 +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?200409020321.i823LeY5034319>
