Re: larger default page sizes...

From: David Mosberger-Tang
Date: Tue Mar 25 2008 - 20:34:39 EST


On Tue, Mar 25, 2008 at 5:41 PM, Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx> wrote:
> The main issue is that, at least on Itanium, you have to turn off the hardware
> page table walker for hugepages if you want to mix superpages and
> standard pages in the same region. (The long format VHPT isn't the
> panacea we'd like it to be because the hash function it uses depends
> on the page size).

Why not just repeat the PTEs for super-pages? That won't work for
huge pages, but for superpages that are a reasonable multiple (e.g.,
16-times) the base-page size, it should work nicely.

--david
--
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/