Date: Tue, 1 Mar 2011 04:21:56 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219122 - head/sys/mips/include Message-ID: <201103010421.p214Luh2083843@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jchandra Date: Tue Mar 1 04:21:56 2011 New Revision: 219122 URL: http://svn.freebsd.org/changeset/base/219122 Log: 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. Modified: head/sys/mips/include/pmap.h Modified: head/sys/mips/include/pmap.h ============================================================================== --- head/sys/mips/include/pmap.h Tue Mar 1 03:25:18 2011 (r219121) +++ head/sys/mips/include/pmap.h Tue Mar 1 04:21:56 2011 (r219122) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103010421.p214Luh2083843>