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.
This commit is contained in:
Scott Long 2004-08-01 14:31:45 +00:00
parent dc50f89c91
commit 9352fe30a0
3 changed files with 9 additions and 0 deletions

View File

@ -113,7 +113,10 @@
#define SSIZE 1 /* initial stack size/NBPG */
#define SINCR 1 /* increment of stack/NBPG */
/* PREEMPTION exposes scheduler bugs that need to be fixed. */
#if 0
#define PREEMPTION
#endif
#ifndef KSTACK_PAGES
#define KSTACK_PAGES 2 /* pages of kstack (with pcb) */

View File

@ -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 */

View File

@ -97,7 +97,10 @@
#define NBPDR (1<<PDRSHIFT) /* bytes/page dir */
#define PDRMASK (NBPDR-1)
/* PREEMPTION exposes scheduler bugs that need to be fixed. */
#if 0
#define PREEMPTION
#endif
#define IOPAGES 2 /* pages of i/o permission bitmap */