Author: mav Date: Tue Apr 8 18:22:03 2014 New Revision: 264264 URL: http://svnweb.freebsd.org/changeset/base/264264
Log: Wakeup only one thread of added in r263978i at a time. This slightly reduces lock congestion between threads. Submitted by: trasz Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ============================================================================== --- head/sys/cam/ctl/ctl.c Tue Apr 8 18:21:38 2014 (r264263) +++ head/sys/cam/ctl/ctl.c Tue Apr 8 18:22:03 2014 (r264264) @@ -13065,7 +13065,7 @@ ctl_wakeup_thread() softc = control_softc; - wakeup(softc); + wakeup_one(softc); } /* Initialization and failover */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"