Pass last_nid from head page to tail page.
Signed-off-by: Hillf Danton <[email protected]>
---
--- a/mm/huge_memory.c Tue Nov 27 20:45:56 2012
+++ b/mm/huge_memory.c Tue Nov 27 20:54:54 2012
@@ -1382,6 +1382,7 @@ static void __split_huge_page_refcount(s
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));
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/