mm: numa: split_huge_page: Transfer last_nid on tail page
Pass last_nid from head page to tail page. Signed-off-by: Hillf Danton <dhillf@gmail.com> Signed-off-by: Mel Gorman <mgorman@suse.de>
This commit is contained in:
Родитель
57e0a03091
Коммит
5aa80374a1
|
@ -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));
|
||||
|
|
Загрузка…
Ссылка в новой задаче