1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Clear the reschedule flag after finding it set in userret(). This

used to be in cpu_switch(), but I don't see any difference between
doing it here.
This commit is contained in:
Jake Burkholder 2001-02-10 20:33:35 +00:00
parent cb03ae3061
commit 3cbe75a414
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72334
4 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,7 @@ userret(p, frame, oticks)
* before we switch()'ed, we might not be on the queue
* indicated by our priority.
*/
clear_resched();
DROP_GIANT_NOSWITCH();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;

View File

@ -189,6 +189,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
clear_resched();
DROP_GIANT_NOSWITCH();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;

View File

@ -189,6 +189,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
clear_resched();
DROP_GIANT_NOSWITCH();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;

View File

@ -189,6 +189,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
clear_resched();
DROP_GIANT_NOSWITCH();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;