Wakeup only one thread of added in r263978i at a time.

This slightly reduces lock congestion between threads.

Submitted by:	trasz
This commit is contained in:
Alexander Motin 2014-04-08 18:22:03 +00:00
parent b900a57189
commit 1fa3ca3ca7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264264

View file

@ -13065,7 +13065,7 @@ ctl_wakeup_thread()
softc = control_softc;
wakeup(softc);
wakeup_one(softc);
}
/* Initialization and failover */