mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Replace accidentally removed setrunqueue()
solves problem with machines failing to sync in booting. Submitted by: Tor.Egge@cvsup.no.freebsd.org
This commit is contained in:
parent
18fc2ba9ff
commit
237a8a02da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90420
@ -272,6 +272,7 @@ boot(int howto)
|
||||
DROP_GIANT();
|
||||
for (subiter = 0; subiter < 50 * iter; subiter++) {
|
||||
mtx_lock_spin(&sched_lock);
|
||||
setrunqueue(curthread);
|
||||
curthread->td_proc->p_stats->p_ru.ru_nvcsw++;
|
||||
mi_switch(); /* Allow interrupt threads to run */
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user