summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/param.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-08-01 14:31:45 +0000
committerscottl <scottl@FreeBSD.org>2004-08-01 14:31:45 +0000
commit30cf65f35dbd6e55081a269240935a7a0f3dc352 (patch)
treebd9492fdf606dc7d4b04a0c5216a88445b67a568 /sys/amd64/include/param.h
parente136993596fa6ae3755ff7a21c28c71b824fea3b (diff)
downloadFreeBSD-src-30cf65f35dbd6e55081a269240935a7a0f3dc352.zip
FreeBSD-src-30cf65f35dbd6e55081a269240935a7a0f3dc352.tar.gz
Turn off PREEMPTION by default while it gets debugged. It's been causing
4 weeks of problems including deadlocks and instant panics. Note that the real bugs are likely in the scheduler.
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r--sys/amd64/include/param.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index 2f46837..aa8c29e 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -119,7 +119,10 @@
#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 */
OpenPOWER on IntegriCloud