Date: Wed, 30 Mar 2011 10:50:17 -0500 From: Alan Cox <alc@rice.edu> To: fuzhli <fuzhli1007@gmail.com> Cc: alc@freebsd.org, questions@freebsd.org Subject: Re: about NKPT on amd64 Message-ID: <4D935139.8080701@rice.edu> In-Reply-To: <AANLkTimdxMo3HU8aLuj9F9PCpYU9M5C5X0o5HkHCvqtC@mail.gmail.com> References: <AANLkTimdxMo3HU8aLuj9F9PCpYU9M5C5X0o5HkHCvqtC@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/30/2011 01:47, fuzhli wrote: > Hi, Alan > I'm study the "Revision 187465" : "Prepare for a larger kernel virtual > address space". After read some relative source code, I have an > question about the macro NKPT on amd64: why 32 is enough for the > kernel page table pages? Do it means that the range (KERNBASE, > virtual_avail) should always less than 64MB( 32 * 2MB)? NKPT sets the size of the kernel page table during the earliest part of the kernel's initialization. After that, the size of the page table grows dynamically according to usage. Regards, Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D935139.8080701>