aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2013-10-07 11:28:44 +0100
committerIngo Molnar <[email protected]>2013-10-29 11:37:39 +0100
commit587fe586f44a48f9691001ba6c45b86c8e4ba21f (patch)
treec3341a2d9fc408045fe14ea0e8608dddcf41d374 /lib/memory-notifier-error-inject.c
parent42836f5f8baa33085f547098b74aa98991ee9216 (diff)
mm: Prevent parallel splits during THP migration
THP migrations are serialised by the page lock but on its own that does not prevent THP splits. If the page is split during THP migration then the pmd_same checks will prevent page table corruption but the unlock page and other fix-ups potentially will cause corruption. This patch takes the anon_vma lock to prevent parallel splits during migration. Signed-off-by: Mel Gorman <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Srikar Dronamraju <[email protected]> Cc: <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions