diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-04 16:22:17 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-04 16:22:17 +0100 |
commit | e49947621113a0b6f775b1ffa7105299b59b40d6 (patch) | |
tree | 33a70aa3a530ca8e8d346447ede4f062127d5337 /i386 | |
parent | a597692655389dd10689f597be5c743395a71625 (diff) | |
download | gnumach-e49947621113a0b6f775b1ffa7105299b59b40d6.tar.gz gnumach-e49947621113a0b6f775b1ffa7105299b59b40d6.tar.bz2 gnumach-e49947621113a0b6f775b1ffa7105299b59b40d6.zip |
Fix using all dynamic priorities
6a2342010811 ("Increase number of priorities") increased NRQS but didn't
increase PRI_SHIFT to extend the use of the additional queues by the
scheduler. This does it. While at it, extend to NRQS to 64, the double
of the original 32, to keep all values coherent.
* i386/i386/sched_param.h (PRI_SHIFT): Set from 18 to 17.
* kern/sched.h (PRI_SHIFT): Set from 18 to 17.
(NRQS): Set to 64.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/sched_param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/sched_param.h b/i386/i386/sched_param.h index e7e855f4..c93ed8a2 100644 --- a/i386/i386/sched_param.h +++ b/i386/i386/sched_param.h @@ -31,10 +31,10 @@ #define _I386_SCHED_PARAM_H_ /* - * Sequent requires a right shift of 18 bits to convert + * Sequent requires a right shift of 17 bits to convert * microseconds to priorities. */ -#define PRI_SHIFT 18 +#define PRI_SHIFT 17 #endif /* _I386_SCHED_PARAM_H_ */ |