my state.
trying to get some memory optimisation (less pagetable reloading, less tlb purging) features working smoothly. to be documented when committing to trunk :)
This commit is contained in:
@@ -25,8 +25,21 @@
|
||||
#define DEBUG_TIME_LOCKS 1
|
||||
|
||||
/* Runtime sanity checking. */
|
||||
#define DEBUG_VMASSERT 0
|
||||
#define DEBUG_SCHED_CHECK 0
|
||||
#define DEBUG_VMASSERT 1
|
||||
#define DEBUG_SCHED_CHECK 1
|
||||
#define DEBUG_STACK_CHECK 1
|
||||
#define DEBUG_TRACE 1
|
||||
|
||||
#if DEBUG_TRACE
|
||||
|
||||
#define VF_SCHEDULING (1L << 1)
|
||||
#define VF_PICKPROC (1L << 2)
|
||||
|
||||
#define TRACE(code, statement) if(verboseflags & code) { printf("%s:%d: ", __FILE__, __LINE__); statement }
|
||||
|
||||
#else
|
||||
#define TRACE(code, statement)
|
||||
#endif
|
||||
|
||||
#define NOREC_ENTER(varname) \
|
||||
static int varname = 0; \
|
||||
@@ -50,7 +63,6 @@
|
||||
|
||||
#if DEBUG_VMASSERT
|
||||
#define vmassert(t) { \
|
||||
FIXME("vmassert on"); \
|
||||
if(!(t)) { minix_panic("vm: assert " #t " failed\n", __LINE__); } }
|
||||
#else
|
||||
#define vmassert(t) { }
|
||||
|
||||
Reference in New Issue
Block a user