]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/migrate.c: fix setting of cpupid on page migration twice against normal page
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Fri, 3 Jan 2014 03:16:52 +0000 (14:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 6 Jan 2014 09:08:16 +0000 (20:08 +1100)
commit0788bc2e2bcacdaa18920e3c2742fa2fb6627505
tree9d1aa6be3deb3e80901f6961be49dfac4a68f587
parent9eff9a73ba1a49486257c42e4342f367ec84afdd
mm/migrate.c: fix setting of cpupid on page migration twice against normal page

7851a45cd3 ("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>
mm/migrate.c