cvs commit: src/sys/kern uipc_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Wed Sep 1 20:21:40 PDT 2004
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
More information about the cvs-src
mailing list