diff options
| author | Tang Chen <[email protected]> | 2013-02-22 16:33:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-02-23 17:50:14 -0800 |
| commit | 34b71f1e04fcba578e719e675b4882eeeb2a1f6f (patch) | |
| tree | beafbed8dce82b108e95baa2c2424ee0f3e94701 /tools/perf/scripts/python | |
| parent | 4d59a75125d5a4717e57e9fc62c64b3d346e603e (diff) | |
page_alloc: add movable_memmap kernel parameter
Add functions to parse movablemem_map boot option. Since the option
could be specified more then once, all the maps will be stored in the
global variable movablemem_map.map array.
And also, we keep the array in monotonic increasing order by start_pfn.
And merge all overlapped ranges.
[[email protected]: improve comment]
[[email protected]: checkpatch fixes]
[[email protected]: remove unneeded parens]
Signed-off-by: Tang Chen <[email protected]>
Signed-off-by: Lai Jiangshan <[email protected]>
Reviewed-by: Wen Congyang <[email protected]>
Tested-by: Lin Feng <[email protected]>
Cc: Wu Jianguo <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions