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:
parent
dc50f89c91
commit
9352fe30a0
@ -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) */
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user