svn commit: r264264 - head/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Tue Apr 8 18:22:03 UTC 2014
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 */
More information about the svn-src-all
mailing list