diff options
author | dufault <dufault@FreeBSD.org> | 2000-03-02 16:20:07 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 2000-03-02 16:20:07 +0000 |
commit | 0bdb67cb2672dc34361104d402e97e00a6bfd8cd (patch) | |
tree | 30c7555ed16fc39ed9cdf8dd5c51ed5620cbd7d4 /sys/kern/subr_trap.c | |
parent | c68b859120e19108ab43f55dd8f8a7616c685677 (diff) | |
download | FreeBSD-src-0bdb67cb2672dc34361104d402e97e00a6bfd8cd.zip FreeBSD-src-0bdb67cb2672dc34361104d402e97e00a6bfd8cd.tar.gz |
Patches that eliminate extra context switches in FIFO case.
Fixes p1003_1b regression test in the simple case of no RR and
FIFO processes competing.
Reviewed by: jkh, bde
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index a8b73cf..836555c 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -196,6 +196,7 @@ userret(p, frame, oticks) (u_int)(p->p_sticks - oticks) * psratio); curpriority = p->p_priority; + currtpriority = p->p_rtprio.prio; } /* |