Re: [PATCH]Fix broken VMI in 2.6.27-rc..

From: H. Peter Anvin
Date: Thu Aug 07 2008 - 19:31:54 EST


Jeremy Fitzhardinge wrote:
Zachary Amsden wrote:
Or we could remove the dependency on max_low_pfn and just create a
liberal linear to physical mapping for lomem which spans all possible
low memory; then it doesn't matter so much where it is called.

Yes. You could just call reserve_top_address() at a suitably early point to reserve the space. Its a pvops API call which has been there since patch one or two of pvops.

It does exactly what the rest of this thread discusses, rendering it moot.

It's not moot.

The fixmap area should never have been made movable. It's utter braindamage.

Given the x86 architecture, it's inevitable that PV will want to reserve address space at the top of memory, and therefore the fixmap area needs to be moved out of that space.

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