summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorJohannes Weiner2011-01-14 00:47:03 +0100
committerLinus Torvalds2011-01-14 02:32:44 +0100
commitb36f5b0710e9e3b92484de32920fddcb17278664 (patch)
tree823f5ee3ff0e18c67489bd8e525d83f3f7cf1b1a /mm/huge_memory.c
parentthp: add pmd_modify (diff)
downloadkernel-qcow2-linux-b36f5b0710e9e3b92484de32920fddcb17278664.tar.gz
kernel-qcow2-linux-b36f5b0710e9e3b92484de32920fddcb17278664.tar.xz
kernel-qcow2-linux-b36f5b0710e9e3b92484de32920fddcb17278664.zip
thp: mprotect: pass vma down to page table walkers
Flushing the tlb for huge pmds requires the vma's anon_vma, so pass along the vma instead of the mm, we can always get the latter when we need it. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Reviewed-by: Rik van Riel <riel@redhat.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