Re: [QUICKLIST 1/4] Quicklists for page table pages V5

From: Paul Mackerras
Date: Wed Apr 11 2007 - 01:50:28 EST


Benjamin Herrenschmidt writes:

> > > For a 64K page size kernel, we have 3 level page tables and we use 3
> > > caches: a PGD pages are 128 bytes (yeah, not big heh...), our pmd
> > > pages are 32K (half a page) and PTE pages are PAGE_SIZE (64K).
> >
> > Ok so use quicklists for the PTEs and slab for the rest? A PGD of only 128
> > bytes? Stuff one at the end of the mm_struct or the task struct? That way
> > you can avoid allocation overhead.
>
> Yeah, maybe... I need to think about it a bit more. I might be able to
> make the PMD a full page too.

There was a reason for making the PMD level map 256MB. I'd have to
remember what that was and make sure it didn't apply any more first...

Paul.
-
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/