Re: [PATCH 10/28] i386: map enough initial memory to create lowmemmappings
From: H. Peter Anvin
Date: Mon Apr 23 2007 - 16:43:04 EST
Eric W. Biederman wrote:
Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
H. Peter Anvin wrote:
It would be *trivial* to make a certain number of page table slots
available at the end of the head.S-generated map.
Or you could use a fixmap.
That certain number of page table slots should be the fixmap slots.
If you do that bt_ioremap works, we remove a boatload of special cases
and the code becomes simpler.
It's probably worth noting that several of the non-PC ports already do
exactly this, although in a hacky way. Grep for pg0 and you'll find it.
-hpa
-
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/