Re: [PATCH 1/7] powerpc/mm: 64-bit 4k: use page-sized PMDs

2011-05-18 Thread Benjamin Herrenschmidt
> > Why do you want to create a virtual page table at the PMD level ? Also, > > you are changing the geometry of the page tables which I think we don't > > want. We chose that geometry so that the levels match the segment sizes > > on server, I think it may have an impact with the hugetlbfs code (

Re: [PATCH 1/7] powerpc/mm: 64-bit 4k: use page-sized PMDs

2011-05-18 Thread Scott Wood
On Thu, 19 May 2011 07:32:41 +1000 Benjamin Herrenschmidt wrote: > On Wed, 2011-05-18 at 16:04 -0500, Scott Wood wrote: > > This allows a virtual page table to be used at the PMD rather than > > the PTE level. > > > > Rather than adjust the constant in pgd_index() (or ignore it, as > > too-large

Re: [PATCH 1/7] powerpc/mm: 64-bit 4k: use page-sized PMDs

2011-05-18 Thread Benjamin Herrenschmidt
On Wed, 2011-05-18 at 16:04 -0500, Scott Wood wrote: > This allows a virtual page table to be used at the PMD rather than > the PTE level. > > Rather than adjust the constant in pgd_index() (or ignore it, as > too-large values don't hurt as long as overly large addresses aren't > passed in), go ba