diff options
author | jeff <jeff@FreeBSD.org> | 2003-04-02 08:21:24 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-04-02 08:21:24 +0000 |
commit | 036d55a8d6c6db1a3521f13fb15b46beed665686 (patch) | |
tree | 284e6ff55beb8a67c0c7eac0d2c398de781cd953 /sys/kern | |
parent | 58f97af56498584ce099a2811b082156e9801ba5 (diff) | |
download | FreeBSD-src-036d55a8d6c6db1a3521f13fb15b46beed665686.zip FreeBSD-src-036d55a8d6c6db1a3521f13fb15b46beed665686.tar.gz |
- I meant divide by two and not shift by two in SCHED_PRI_NHALF.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index dc42464..f49b112 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -125,7 +125,7 @@ struct td_sched *thread0_sched = &td_sched; */ #define SCHED_PRI_RANGE (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE + 1) #define SCHED_PRI_NRESV PRIO_TOTAL -#define SCHED_PRI_NHALF (PRIO_TOTAL >> 2) +#define SCHED_PRI_NHALF (PRIO_TOTAL / 2) #define SCHED_PRI_BASE ((SCHED_PRI_NRESV / 2) + PRI_MIN_TIMESHARE) #define SCHED_DYN_RANGE (SCHED_PRI_RANGE - SCHED_PRI_NRESV) #define SCHED_DYN_HALF (SCHED_DYN_RANGE / 2) |