- Don't set td_priority directly here, use sched_prio().
This commit is contained in:
parent
8c0dd0e438
commit
eab9cabf34
@ -409,7 +409,7 @@ rtp_to_pri(struct rtprio *rtp, struct ksegrp *kg)
|
||||
sched_class(kg, rtp->type);
|
||||
if (curthread->td_ksegrp == kg) {
|
||||
curthread->td_base_pri = kg->kg_user_pri;
|
||||
curthread->td_priority = kg->kg_user_pri; /* XXX dubious */
|
||||
sched_prio(curthread, kg->kg_user_pri); /* XXX dubious */
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user