commit | b36f5b0710e9e3b92484de32920fddcb17278664 | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@cmpxchg.org> | Thu Jan 13 15:47:03 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 17:32:44 2011 -0800 |
tree | 823f5ee3ff0e18c67489bd8e525d83f3f7cf1b1a | |
parent | c489f1257b8cacd4881a18da1e93659f934a8e98 [diff] |
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>