]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, numa, mm: Implement THP migration
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 12 Oct 2012 17:30:14 +0000 (19:30 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 13 Nov 2012 13:11:49 +0000 (14:11 +0100)
commitc067b866b9d21144b181e6f33128cfa9c517d977
tree06397ddd8d32f178689258cc37252dd6ab2c48c1
parentc46c05a7cfb4ce34d1b7cfbf77a58d98c7be6210
sched, numa, mm: Implement THP migration

Add THP migration for the NUMA working set scanning fault case.

It uses the page lock to serialize. No migration pte dance is
necessary because the pte is already unmapped when we decide
to migrate.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-yv9vbiz2s455zxq1ffzx3fye@git.kernel.org
[ Significant fixes and changelog. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
mm/huge_memory.c
mm/migrate.c