[PATCH 2/2] powerpc: make 64K huge pages more reliable
Jon Tollefson
kniht at linux.vnet.ibm.com
Tue Dec 4 08:33:41 EST 2007
David Gibson wrote:
> On Tue, Nov 27, 2007 at 11:03:16PM -0600, Jon Tollefson wrote:
>
>> This patch adds reliability to the 64K huge page option by making use of
>> the PMD for 64K huge pages when base pages are 4k. So instead of a 12
>> bit pte it would be 7 bit pmd and a 5 bit pte. The pgd and pud offsets
>> would continue as 9 bits and 7 bits respectively. This will allow the
>> pgtable to fit in one base page. This patch would have to be applied
>> after part 1.
>>
>
> Hrm.. shouldn't we just ban 64K hugepages on a 64K base page size
> setup? There's not a whole lot of point to it, after all...
>
Banning the base and huge page size from being the same size feels like
an artificial barrier. It is probably not the most massively useful
combination, but it shouldn't hurt performance.
Jon
More information about the Linuxppc-dev
mailing list