Date: Wed, 7 May 2014 07:20:02 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r265504 - stable/10/sys/cam/ctl Message-ID: <201405070720.s477K2qo011579@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Wed May 7 07:20:02 2014 New Revision: 265504 URL: http://svnweb.freebsd.org/changeset/base/265504 Log: MFC r264264 by mav@: Wakeup only one thread of added in r263978i at a time. This slightly reduces lock congestion between threads. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/cam/ctl/ctl.c ============================================================================== --- stable/10/sys/cam/ctl/ctl.c Wed May 7 07:18:38 2014 (r265503) +++ stable/10/sys/cam/ctl/ctl.c Wed May 7 07:20:02 2014 (r265504) @@ -13065,7 +13065,7 @@ ctl_wakeup_thread() softc = control_softc; - wakeup(softc); + wakeup_one(softc); } /* Initialization and failover */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405070720.s477K2qo011579>