summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorMichel Lespinasse2012-10-09 01:30:01 +0200
committerLinus Torvalds2012-10-09 09:22:28 +0200
commitca42b26ab285edc5ee3f9faa48379d258db53c35 (patch)
tree4a9d68d4d730474dde75b1ffff106d7e3442aef1 /mm/Kconfig
parentthp: remove unnecessary set_recommended_min_free_kbytes (diff)
downloadkernel-qcow2-linux-ca42b26ab285edc5ee3f9faa48379d258db53c35.tar.gz
kernel-qcow2-linux-ca42b26ab285edc5ee3f9faa48379d258db53c35.tar.xz
kernel-qcow2-linux-ca42b26ab285edc5ee3f9faa48379d258db53c35.zip
mm: fix potential anon_vma locking issue in mprotect()
Fix an anon_vma locking issue in the following situation: - vma has no anon_vma - next has an anon_vma - vma is being shrunk / next is being expanded, due to an mprotect call We need to take next's anon_vma lock to avoid races with rmap users (such as page migration) while next is being expanded. Signed-off-by: Michel Lespinasse <walken@google.com> Reviewed-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions