Date: Mon, 19 Jan 2009 07:44:18 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r187428 - in stable/7/sys: . amd64/include contrib/pf dev/ath/ath_hal dev/cxgb Message-ID: <200901190744.n0J7iIwp002174@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Mon Jan 19 07:44:18 2009 New Revision: 187428 URL: http://svn.freebsd.org/changeset/base/187428 Log: MFC rev 180108 Compute NKPDPE from NKPT. This reduces the number of knobs that must be turned in order to change the size of the kernel virtual address space. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/include/pmap.h stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) Modified: stable/7/sys/amd64/include/pmap.h ============================================================================== --- stable/7/sys/amd64/include/pmap.h Mon Jan 19 07:18:32 2009 (r187427) +++ stable/7/sys/amd64/include/pmap.h Mon Jan 19 07:44:18 2009 (r187428) @@ -109,7 +109,7 @@ #endif #define NKPML4E 1 /* number of kernel PML4 slots */ -#define NKPDPE 1 /* number of kernel PDP slots */ +#define NKPDPE howmany(NKPT, NPDEPG)/* number of kernel PDP slots */ #define NUPML4E (NPML4EPG/2) /* number of userland PML4 pages */ #define NUPDPE (NUPML4E*NPDPEPG)/* number of userland PDP pages */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901190744.n0J7iIwp002174>