mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
kernel: only reset processor affinity p->mp when p->wired == nil
This commit is contained in:
parent
cbbce6b301
commit
703bcae2ed
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ queueproc(Schedq *rq, Proc *p)
|
|||
* When the priority changes, we want to give
|
||||
* every cpu a chance to pick up the load.
|
||||
*/
|
||||
if(p->wired == nil)
|
||||
if(pri < 3 || pri != p->priority)
|
||||
p->mp = nil;
|
||||
p->priority = pri;
|
||||
|
|
Loading…
Reference in a new issue