diff options
| author | Minchan Kim <[email protected]> | 2012-10-08 16:32:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-10-09 16:22:45 +0900 |
| commit | 95e3441248053fc06bbb1dbbd34409a84211619e (patch) | |
| tree | 8c8312184b515826ca4343fa81b77d703d291398 /tools/perf/scripts/python | |
| parent | b12c4ad14ee0232ad47c2bef404b6d42a3578332 (diff) | |
mm: remain migratetype in freed page
The page allocator caches the pageblock information in page->private while
it is in the PCP freelists but this is overwritten with the order of the
page when freed to the buddy allocator. This patch stores the migratetype
of the page in the page->index field so that it is available at all times
when the page remain in free_list.
This patch adds a new call site in __free_pages_ok so it might be overhead
a bit but it's for high order allocation. So I believe damage isn't hurt.
Signed-off-by: Minchan Kim <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Yasuaki Ishimatsu <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Cc: Xishi Qiu <[email protected]>
Cc: Wen Congyang <[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