Re: [PATCH v5 2/5] page_alloc: add movable_memmap kernel parameter

2013-01-14 Thread Andrew Morton
On Mon, 14 Jan 2013 17:15:22 +0800 Tang Chen wrote: > This patch adds functions to parse movablecore_map boot option. Since the > option could be specified more then once, all the maps will be stored in > the global variable movablecore_map.map array. > > And also, we keep the array in monotonic

[PATCH v5 2/5] page_alloc: add movable_memmap kernel parameter

2013-01-14 Thread Tang Chen
This patch adds functions to parse movablecore_map boot option. Since the option could be specified more then once, all the maps will be stored in the global variable movablecore_map.map array. And also, we keep the array in monotonic increasing order by start_pfn. And merge all overlapped ranges.