diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2102,7 +2102,7 @@ void exit_mmap(struct mm_struct *mm) | |||
2102 | lru_add_drain(); | 2102 | lru_add_drain(); |
2103 | flush_cache_mm(mm); | 2103 | flush_cache_mm(mm); |
2104 | tlb = tlb_gather_mmu(mm, 1); | 2104 | tlb = tlb_gather_mmu(mm, 1); |
2105 | /* Don't update_hiwater_rss(mm) here, do_exit already did */ | 2105 | /* update_hiwater_rss(mm) here? but nobody should be looking */ |
2106 | /* Use -1 here to ensure all VMAs in the mm are unmapped */ | 2106 | /* Use -1 here to ensure all VMAs in the mm are unmapped */ |
2107 | end = unmap_vmas(&tlb, vma, 0, -1, &nr_accounted, NULL); | 2107 | end = unmap_vmas(&tlb, vma, 0, -1, &nr_accounted, NULL); |
2108 | vm_unacct_memory(nr_accounted); | 2108 | vm_unacct_memory(nr_accounted); |