Re: 4level page tables for Linux

From: Robin Holt
Date: Thu Oct 14 2004 - 06:17:06 EST


On Thu, Oct 14, 2004 at 09:25:40AM -0000, linux@xxxxxxxxxxx wrote:
> > Numbers for all of them would be easy to deal with.
> > Like this: pd1, pd2, pd3, pd4...
> >
> > I'd number going toward the page, because that's
> > the order in which these things get walked.
>
> On the other hand, these extensions tend to get made to the top,
> and it's confusing if, in a 2-level system, only pd3 and pd4 are used.
>
> Perhaps a little-endian scheme (pd1 = pte, pt2=pmd, pd4=pgd) would
> be better after all.

I think the pd4=pgd, etc makes more sense as well. The names assigned
now go from smallest scope (pte=pd1) to largest scope (pgd=pd3). Feels
consistent.

Robin
-
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/