allow ports to override PAGER_MAP_SIZE in machine/vmparam.h.
some ports (such as arm32) don't have enough KVA for the increased default size once the UBC mapping is also present.
This commit is contained in:
parent
1ec37ad27a
commit
c29a1b4461
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vmparam.h,v 1.18 2000/02/11 19:25:14 thorpej Exp $ */
|
||||
/* $NetBSD: vmparam.h,v 1.19 2000/11/27 08:19:50 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -129,6 +129,11 @@
|
||||
#endif
|
||||
#define PROCESS_PAGE_TBLS_BASE PAGE_TABLE_SPACE_START
|
||||
|
||||
/*
|
||||
* Override the default pager_map size, there's not enough KVA.
|
||||
*/
|
||||
#define PAGER_MAP_SIZE (4 * 1024 * 1024)
|
||||
|
||||
/*
|
||||
* Mach derived constants
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_pager.h,v 1.18 2000/11/24 22:41:39 chs Exp $ */
|
||||
/* $NetBSD: uvm_pager.h,v 1.19 2000/11/27 08:19:51 chs Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -214,7 +214,9 @@ struct vm_page **uvm_mk_pcluster __P((struct uvm_object *, struct vm_page **,
|
||||
* is changed to do physically-addressed i/o.
|
||||
*/
|
||||
|
||||
#ifndef PAGER_MAP_SIZE
|
||||
#define PAGER_MAP_SIZE (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user