cvs commit: src/sys/kern uipc_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Thu Mar 1 09:00:43 UTC 2007
rwatson 2007-03-01 09:00:42 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_usrreq.c
Log:
Remove two simultaneous acquisitions of multiple unpcb locks from
uipc_send in cases where only a global read lock is held by breaking
them out and avoiding the unpcb lock acquire in the common case. This
avoids deadlocks which manifested with X11, and should also marginally
further improve performance.
Reported by: sepotvin, brooks
Revision Changes Path
1.199 +19 -22 src/sys/kern/uipc_usrreq.c
More information about the cvs-src
mailing list