Now that countless UVM bugs have been fixed, enable "topdown" memory

allocation by default.
This commit is contained in:
mycroft 2005-01-10 05:34:51 +00:00
parent 248d777d24
commit 87e784e1de
1 changed files with 2 additions and 4 deletions

View File

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