This transfers the autonuma_last_nid information to all tail pages during split_huge_page. Acked-by: Rik van Riel <riel@xxxxxxxxxx> Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx> --- mm/huge_memory.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index edee54d..152d4dd 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -17,6 +17,7 @@ #include <linux/khugepaged.h> #include <linux/freezer.h> #include <linux/mman.h> +#include <linux/autonuma.h> #include <asm/tlb.h> #include <asm/pgalloc.h> #include "internal.h" @@ -1350,6 +1351,7 @@ static void __split_huge_page_refcount(struct page *page) BUG_ON(!PageSwapBacked(page_tail)); lru_add_page_tail(page, page_tail, lruvec); + autonuma_migrate_split_huge_page(page, page_tail); } atomic_sub(tail_count, &page->_count); BUG_ON(__page_count(page) <= 0); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>