Fix a bug in r355784. I missed a sched_add() call that needed to reacquire
the thread lock. Reported by: mjg
This commit is contained in:
parent
3bac34907e
commit
d8d5f03610
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355915
@ -2689,7 +2689,7 @@ sched_affinity(struct thread *td)
|
||||
return;
|
||||
if (TD_ON_RUNQ(td)) {
|
||||
sched_rem(td);
|
||||
sched_add(td, SRQ_BORING);
|
||||
sched_add(td, SRQ_BORING | SRQ_HOLDTD);
|
||||
return;
|
||||
}
|
||||
if (!TD_IS_RUNNING(td))
|
||||
|
Loading…
Reference in New Issue
Block a user