Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Now that countless UVM bugs have been ...



details:   https://anonhg.NetBSD.org/src/rev/b9c85d9c0574
branches:  trunk
changeset: 572732:b9c85d9c0574
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Jan 11 05:42:17 2005 +0000

description:
Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.

diffstat:

 sys/arch/mips/include/vmparam.h |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 87c966f7109f -r b9c85d9c0574 sys/arch/mips/include/vmparam.h
--- a/sys/arch/mips/include/vmparam.h   Tue Jan 11 04:23:14 2005 +0000
+++ b/sys/arch/mips/include/vmparam.h   Tue Jan 11 05:42:17 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.34 2004/04/26 22:25:54 simonb Exp $      */
+/*     $NetBSD: vmparam.h,v 1.35 2005/01/11 05:42:17 simonb Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -156,14 +156,9 @@
 /*
  * The address to which unspecified mapping requests default
  */
-#ifdef _KERNEL_OPT
-#include "opt_uvm.h"
-#endif
-#define __HAVE_TOPDOWN_VM
-#ifdef USE_TOPDOWN_VM
+#define __USE_TOPDOWN_VM
 #define VM_DEFAULT_ADDRESS(da, sz) \
        trunc_page(USRSTACK - MAXSSIZ - (sz))
-#endif
 
 /* virtual sizes (bytes) for various kernel submaps */
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)



Home | Main Index | Thread Index | Old Index