Commit 5aa80374 authored by Hillf Danton's avatar Hillf Danton Committed by Mel Gorman

mm: numa: split_huge_page: Transfer last_nid on tail page

Pass last_nid from head page to tail page.
Signed-off-by: default avatarHillf Danton <dhillf@gmail.com>
Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
parent 57e0a030
......@@ -1362,6 +1362,7 @@ static void __split_huge_page_refcount(struct page *page)
page_tail->mapping = page->mapping;
page_tail->index = page->index + i;
page_xchg_last_nid(page_tail, page_last_nid(page));
BUG_ON(!PageAnon(page_tail));
BUG_ON(!PageUptodate(page_tail));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment