Re: about NKPT on amd64

2011-04-01 Thread fuzhli
Hi, Alan Cox Thanks for your reply. I want to know why the NKPT set to 32 in revision187465, is it possible that set NKPT less or lager than 32? What's the limitation if set NKPT to 32? I also guess the KPTphys[] not used in kernel initialization on amd64 in revision187465. And I notice

about NKPT on amd64

2011-03-30 Thread fuzhli
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

Re: about NKPT on amd64

2011-03-30 Thread Alan Cox
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