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:
parent
cb03ae3061
commit
3cbe75a414
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72334
@ -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++;
|
||||
|
@ -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++;
|
||||
|
@ -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++;
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user