diff options
author | Hillf Danton <dhillf@gmail.com> | 2012-11-27 14:40:32 +0000 |
---|---|---|
committer | Mel Gorman <mgorman@suse.de> | 2012-12-11 14:42:53 +0000 |
commit | 5aa80374a10567f8e25de0615d3d40f3aa3a4298 (patch) | |
tree | 8c5829001c1b1a6f9bb0427dd1d5dcc7a99486e6 | |
parent | 57e0a0309160b1b4ebde9f3c6a867cd96ac368bf (diff) | |
download | op-kernel-dev-5aa80374a10567f8e25de0615d3d40f3aa3a4298.zip op-kernel-dev-5aa80374a10567f8e25de0615d3d40f3aa3a4298.tar.gz |
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>
-rw-r--r-- | mm/huge_memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index f3a477f..79b9606 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -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)); |