mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Use mi_switch, this should fix loadavg calculation problem in NO_KSE case.
This commit is contained in:
parent
9d6220e622
commit
812fb4a89f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164211
@ -122,12 +122,7 @@ idle_proc(void *dummy)
|
||||
#ifdef SMP
|
||||
idle_cpus_mask &= ~mycpu;
|
||||
#endif
|
||||
#ifdef KSE
|
||||
mi_switch(SW_VOL, NULL);
|
||||
#else
|
||||
if ((td = choosethread()) != curthread)
|
||||
mi_switch(SW_VOL, td);
|
||||
#endif
|
||||
#ifdef SMP
|
||||
idle_cpus_mask |= mycpu;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user