Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/f324a9b9637a
branches:  trunk
changeset: 572683:f324a9b9637a
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Jan 10 05:34:51 2005 +0000

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

diffstat:

 sys/arch/i386/include/vmparam.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 46c95d5a6de0 -r f324a9b9637a sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h   Mon Jan 10 04:43:34 2005 +0000
+++ b/sys/arch/i386/include/vmparam.h   Mon Jan 10 05:34:51 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.57 2004/05/12 09:11:03 yamt Exp $        */
+/*     $NetBSD: vmparam.h,v 1.58 2005/01/10 05:34:51 mycroft Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -114,11 +114,9 @@
 #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
 
 /* XXX max. amount of KVM to be used by buffers. */
 #ifndef VM_MAX_KERNEL_BUF



Home | Main Index | Thread Index | Old Index