summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/sched_param.h4
-rw-r--r--kern/sched.h6
2 files changed, 5 insertions, 5 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_ */
diff --git a/kern/sched.h b/kern/sched.h
index f82f9f56..c401f0f5 100644
--- a/kern/sched.h
+++ b/kern/sched.h
@@ -47,10 +47,10 @@
#if STAT_TIME
/*
- * Statistical timing uses microseconds as timer units. 18 bit shift
+ * Statistical timing uses microseconds as timer units. 17 bit shift
* yields priorities. PRI_SHIFT_2 isn't needed.
*/
-#define PRI_SHIFT 18
+#define PRI_SHIFT 17
#else /* STAT_TIME */
@@ -60,7 +60,7 @@
#include <machine/sched_param.h>
#endif /* STAT_TIME */
-#define NRQS 50 /* 50 run queues per cpu */
+#define NRQS 64 /* 64 run queues per cpu */
struct run_queue {
queue_head_t runq[NRQS]; /* one for each priority */