diff options
| author | Wen Congyang <[email protected]> | 2012-12-11 16:01:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-11 17:22:23 -0800 |
| commit | 6dcd73d7011ba9046f9b98e7f7c9d958f5810e6b (patch) | |
| tree | e2cc08839a13745a21ade3d5ab22d8f8836ace80 /tools/perf/scripts/python/bin | |
| parent | 3ac19f8efe26451cacac31d0be34fa9c51114c2a (diff) | |
memory-hotplug: allocate zone's pcp before onlining pages
We use __free_page() to put a page to buddy system when onlining pages.
__free_page() will store NR_FREE_PAGES in zone's pcp.vm_stat_diff, so we
should allocate zone's pcp before onlining pages, otherwise we will lose
some free pages.
[[email protected]: make zone_pcp_reset independent of MEMORY_HOTREMOVE]
Signed-off-by: Wen Congyang <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Yasuaki Ishimatsu <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions