Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

From: H. Peter Anvin
Date: Mon Nov 26 2012 - 20:21:57 EST


On 11/26/2012 05:12 PM, Jiang Liu wrote:
Hi Peter,

I have tried to reserved movable memory from bootmem allocator, but the
ACPICA subsystem is initialized later than setting up movable zone.
So still trying to figure out a way to setup/reserve movable zones
according to information from static ACPI tables such as SRAT/MPST etc.


[Adding Len Brown]

Right, for the case of platform-configured memory. Len, I'm wondering if there is any reasonable way we can get memory-map-related stuff out of ACPI before we initialize the full ACPICA... we could of course write an ad hoc static parser (these are just static tables, after all), but I'm not sure if that fits into your overall view of how the subsystem should work?

-hpa


--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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