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 */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"