]> 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>
Sun, 28 Oct 2012 16:31:11 +0000 (17:31 +0100)
commit94f50926e723bb4c9f9db667233eae66dac0c6c1
treed722f8f0ca9ae1fbb4952958c18161a04ba52273
parent6e27d9318a551b14a6ef8a1956b497f1477680a1
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