summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2016-07-27 00:25:48 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commit37f9f5595c26d3cb644ca2fab83dc4c4db119f9f (patch)
tree2aa2bed11174ba9b13b125500a4dfa7b2cebb71b /mm/huge_memory.c
parentthp: prepare change_huge_pmd() for file thp (diff)
downloadkernel-qcow2-linux-37f9f5595c26d3cb644ca2fab83dc4c4db119f9f.tar.gz
kernel-qcow2-linux-37f9f5595c26d3cb644ca2fab83dc4c4db119f9f.tar.xz
kernel-qcow2-linux-37f9f5595c26d3cb644ca2fab83dc4c4db119f9f.zip
thp: run vma_adjust_trans_huge() outside i_mmap_rwsem
vma_addjust_trans_huge() splits pmd if it's crossing VMA boundary. During split we munlock the huge page which requires rmap walk. rmap wants to take the lock on its own. Let's move vma_adjust_trans_huge() outside i_mmap_rwsem to fix this. Link: http://lkml.kernel.org/r/1466021202-61880-19-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions