Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
This commit is contained in:
parent
248d777d24
commit
87e784e1de
|
@ -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.
|
* Copyright (c) 1990 The Regents of the University of California.
|
||||||
|
@ -114,11 +114,9 @@
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_uvm.h"
|
#include "opt_uvm.h"
|
||||||
#endif
|
#endif
|
||||||
#define __HAVE_TOPDOWN_VM
|
#define __USE_TOPDOWN_VM
|
||||||
#ifdef USE_TOPDOWN_VM
|
|
||||||
#define VM_DEFAULT_ADDRESS(da, sz) \
|
#define VM_DEFAULT_ADDRESS(da, sz) \
|
||||||
trunc_page(USRSTACK - MAXSSIZ - (sz))
|
trunc_page(USRSTACK - MAXSSIZ - (sz))
|
||||||
#endif
|
|
||||||
|
|
||||||
/* XXX max. amount of KVM to be used by buffers. */
|
/* XXX max. amount of KVM to be used by buffers. */
|
||||||
#ifndef VM_MAX_KERNEL_BUF
|
#ifndef VM_MAX_KERNEL_BUF
|
||||||
|
|
Loading…
Reference in New Issue