diff options
author | jhb <jhb@FreeBSD.org> | 2004-12-30 20:29:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-12-30 20:29:58 +0000 |
commit | 7b611b0cb22347b6dcb39cb97b7826908f188d10 (patch) | |
tree | 3db78404a3bf8319128dcd14795f6b1149c927aa /sys/kern/kern_resource.c | |
parent | 5624553de421f01520096aaaedc63434e38c8e31 (diff) | |
download | FreeBSD-src-7b611b0cb22347b6dcb39cb97b7826908f188d10.zip FreeBSD-src-7b611b0cb22347b6dcb39cb97b7826908f188d10.tar.gz |
Stop explicitly touching td_base_pri outside of the scheduler and simply
set a thread's priority via sched_prio() when that is the desired action.
The schedulers will start managing td_base_pri internally shortly.
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r-- | sys/kern/kern_resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index d9e25c8..7368cbd 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -423,7 +423,6 @@ 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; sched_prio(curthread, kg->kg_user_pri); /* XXX dubious */ } return (0); |