mm/migrate.c: fix setting of cpupid on page migration twice against normal page
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Tue, 28 Jan 2014 01:07:17 +0000 (17:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:40 +0000 (21:02 -0800)
commita3978a519461b095b776f44a86079f5448c96963
tree63ed35793c2d0423ae7b4bac4249872dea2f3741
parentce85b4f2eab663dfd4ff2cb5b603ba03f595922e
mm/migrate.c: fix setting of cpupid on page migration twice against normal page

Commit 7851a45cd3f6 ("mm: numa: Copy cpupid on page migration") copies
over the cpupid at page migration time.  It is unnecessary to set it
again in alloc_misplaced_dst_page().

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c