svn commit: r265504 - stable/10/sys/cam/ctl

Edward Tomasz Napierala trasz at FreeBSD.org
Wed May 7 07:20:03 UTC 2014


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 */


More information about the svn-src-all mailing list