diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2014-01-10 12:42:17 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-01-10 15:35:31 +1100 |
commit | c3689c35da40c0ee3ec6a24f0470d0d878ae3317 (patch) | |
tree | c407472d565e0db91ea45ff7c3d4122a06d7f5cd /mm | |
parent | 56191746bf9edad448eee654d523706252dea4b2 (diff) |
mm/migrate.c: fix set cpupid on page migration twice against thp
7851a45cd3 (mm: numa: Copy cpupid on page migration) copies over the
cpupid at page migration time. It is unnecessary to set it again in
migrate_misplaced_transhuge_page().
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/migrate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 4b3996eb7f0f..734704f6f29b 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1753,8 +1753,6 @@ int migrate_misplaced_transhuge_page(struct mm_struct *mm, if (!new_page) goto out_fail; - page_cpupid_xchg_last(new_page, page_cpupid_last(page)); - isolated = numamigrate_isolate_page(pgdat, page); if (!isolated) { put_page(new_page); |