Increase NKPT in case of n32 and n64 to support more physical memory.
On n32, vm_page_startup() needs more virtual mem to map vm_page structs. The new value of 256 will allow us to support 16GB RAM.
This commit is contained in:
parent
0474933dcc
commit
1e4b58070b
@ -49,7 +49,11 @@
|
||||
#include <machine/vmparam.h>
|
||||
#include <machine/pte.h>
|
||||
|
||||
#if defined(__mips_n32) || defined(__mips_n64) /* PHYSADDR_64BIT */
|
||||
#define NKPT 256 /* mem > 4G, vm_page_startup needs more KPTs */
|
||||
#else
|
||||
#define NKPT 120 /* actual number of kernel page tables */
|
||||
#endif
|
||||
|
||||
#ifndef LOCORE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user