aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 2b2b45eb816c..9365a8fe3701 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2224,7 +2224,6 @@ void exit_mmap(struct mm_struct *mm)
2224 struct mmu_gather tlb; 2224 struct mmu_gather tlb;
2225 struct vm_area_struct *vma; 2225 struct vm_area_struct *vma;
2226 unsigned long nr_accounted = 0; 2226 unsigned long nr_accounted = 0;
2227 unsigned long end;
2228 2227
2229 /* mm's last user has gone, and its about to be pulled down */ 2228 /* mm's last user has gone, and its about to be pulled down */
2230 mmu_notifier_release(mm); 2229 mmu_notifier_release(mm);
@@ -2249,7 +2248,7 @@ void exit_mmap(struct mm_struct *mm)
2249 tlb_gather_mmu(&tlb, mm, 1); 2248 tlb_gather_mmu(&tlb, mm, 1);
2250 /* update_hiwater_rss(mm) here? but nobody should be looking */ 2249 /* update_hiwater_rss(mm) here? but nobody should be looking */
2251 /* Use -1 here to ensure all VMAs in the mm are unmapped */ 2250 /* Use -1 here to ensure all VMAs in the mm are unmapped */
2252 end = unmap_vmas(&tlb, vma, 0, -1, &nr_accounted, NULL); 2251 unmap_vmas(&tlb, vma, 0, -1, &nr_accounted, NULL);
2253 vm_unacct_memory(nr_accounted); 2252 vm_unacct_memory(nr_accounted);
2254 2253
2255 free_pgtables(&tlb, vma, FIRST_USER_ADDRESS, 0); 2254 free_pgtables(&tlb, vma, FIRST_USER_ADDRESS, 0);