diff options
author | Mel Gorman <mgorman@suse.de> | 2013-10-07 10:28:44 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-29 10:37:39 (GMT) |
commit | 587fe586f44a48f9691001ba6c45b86c8e4ba21f (patch) | |
tree | c3341a2d9fc408045fe14ea0e8608dddcf41d374 /block/blk-cgroup.h | |
parent | 42836f5f8baa33085f547098b74aa98991ee9216 (diff) | |
download | linux-fsl-qoriq-587fe586f44a48f9691001ba6c45b86c8e4ba21f.tar.xz |
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 <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: <stable@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-7-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions