Messages in this thread | | | Date | Mon, 26 Nov 2012 21:31:13 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map |
| |
On 11/26/2012 07:15 PM, Wen Congyang wrote: > > Hi, hpa > > The problem is that: > node1 address rang: [18G, 34G), and the user specifies movable map is [8G, 24G). > We don't know node1's address range before numa init. So we can't prevent > allocating boot memory in the range [24G, 34G). > > The movable memory should be classified as a non-RAM type in memblock. What > do you want to say? We don't save type in memblock because we only > add E820_RAM and E820_RESERVED_KERN to memblock. >
We either need to keep the type or not add it to the memblocks.
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |