diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-05 14:03:47 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:39:51 -0400 |
commit | 853f5e264018113b1f96f05551b07a74b836c7fc (patch) | |
tree | 4fda70658e3315e293260278036e92921594e72f /mm/mmap.c | |
parent | 14f5ff5df37a8fabe2d25b1e64df7e010cc87db9 (diff) | |
download | lwn-853f5e264018113b1f96f05551b07a74b836c7fc.tar.gz lwn-853f5e264018113b1f96f05551b07a74b836c7fc.zip |
VM: don't bother with feeding upper limit to tlb_finish_mmu() in exit_mmap()
no point, really - the only instance that cares about those arguments of
tlb_finish_mmu() is itanic and there we explicitly check if that's called
from exit_mmap() (i.e. that ->fullmm is set), in which case we ignore those
arguments completely.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c index da15a79b1441..2b2b45eb816c 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2253,7 +2253,7 @@ void exit_mmap(struct mm_struct *mm) vm_unacct_memory(nr_accounted); free_pgtables(&tlb, vma, FIRST_USER_ADDRESS, 0); - tlb_finish_mmu(&tlb, 0, end); + tlb_finish_mmu(&tlb, 0, -1); /* * Walk the list again, actually closing and freeing it, |