Messages in this thread |  | | | From | (H. Peter Anvin) | | Subject | Re: 4level page tables for Linux | | Date | Sun, 17 Oct 2004 02:57:19 +0000 (UTC) |
| |
Followup to: <20041014092540.5416.qmail@science.horizon.com> By author: linux@horizon.com In newsgroup: linux.dev.kernel > > > 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 believe so, for the same reason that littleendian actually makes more sense for numbers in the long run. It's one of those things where the "first perception" doesn't match what makes sense in the long run.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |