summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/param.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-09-02 18:59:15 +0000
committerscottl <scottl@FreeBSD.org>2004-09-02 18:59:15 +0000
commitd9af98161a593a71f96724acd29231e7fff3cfe2 (patch)
tree43dc4fd34e2a35dcd08857f52e9ae89c2dda740f /sys/amd64/include/param.h
parente5632b23412e4668525e6a7487b06e47dab99409 (diff)
downloadFreeBSD-src-d9af98161a593a71f96724acd29231e7fff3cfe2.zip
FreeBSD-src-d9af98161a593a71f96724acd29231e7fff3cfe2.tar.gz
Turn PREEMPTION into a kernel option. Make sure that it's defined if
FULL_PREEMPTION is defined. Add a runtime warning to ULE if PREEMPTION is enabled (code inspired by the PREEMPTION warning in kern_switch.c). This is a possible MT5 candidate.
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r--sys/amd64/include/param.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index aa8c29e..5216c55 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -119,11 +119,6 @@
#define NBPML4 (1ul<<PML4SHIFT)/* bytes/page map lev4 table */
#define PML4MASK (NBPML4-1)
-/* PREEMPTION exposes scheduler bugs that need to be fixed. */
-#if 0
-#define PREEMPTION
-#endif
-
#define IOPAGES 2 /* pages of i/o permission bitmap */
#ifndef KSTACK_PAGES
OpenPOWER on IntegriCloud