RE: [PATCH] Convert pgtable cache to slab

Luck, Tony
2005-02-14T19:18:21Z

>I have given this some more thought over the weekend and think I am
>leaning more towards the quicklists. Its main attraction to me seems
>to be the simplicity of design. The quicklists remain consistent with
>what we are already familiar with. To make pte, pmd, and pgd entries
>equivalent, I think I am going to propose a single quicklist for all
>the different types of entries with a single add/remove function.

What about the 4-level case? With 64K pages you end up with a surplus
of bits if you use a full page for all pgd/pud/pmd/pte levels. Are
you planning on just leaving unused space in the PGD so that everything
is simple? It might be more efficient to slim down the number of bits
in the pte level? Then the slab starts looking attractive again to
handle the sub-page allocations.

-Tony