mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
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:
parent
57e0a03091
commit
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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user