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:
Jayachandran C. 2011-03-01 04:21:56 +00:00
parent 0474933dcc
commit 1e4b58070b

View File

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