mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
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:
parent
b900a57189
commit
1fa3ca3ca7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264264
|
@ -13065,7 +13065,7 @@ ctl_wakeup_thread()
|
||||||
|
|
||||||
softc = control_softc;
|
softc = control_softc;
|
||||||
|
|
||||||
wakeup(softc);
|
wakeup_one(softc);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialization and failover */
|
/* Initialization and failover */
|
||||||
|
|
Loading…
Reference in a new issue