]> git.baikalelectronics.ru Git - kernel.git/commit
mm: numa: Copy cpupid on page migration
authorRik van Riel <riel@redhat.com>
Mon, 7 Oct 2013 10:29:23 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:47:51 +0000 (14:47 +0200)
commit037272dd48432a4a8b745dc30c63bb6c873d85db
tree6e81020606c34c95aeded72620738e3a22032e13
parent55e1cc4ae7f0760b337feadf05020ad6e0306375
mm: numa: Copy cpupid on page migration

After page migration, the new page has the nidpid unset. This makes
every fault on a recently migrated page look like a first numa fault,
leading to another page migration.

Copying over the nidpid at page migration time should prevent erroneous
migrations of recently migrated pages.

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-46-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
mm/migrate.c