Date: Thu, 1 Mar 2007 09:00:42 +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: <200703010900.l2190hUU022592@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703010900.l2190hUU022592>
