diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-10-23 06:25:00 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-10-23 06:25:00 -0400 |
commit | 070b6d3122b5e6da7113588aeacbaf54b5ab03a6 (patch) | |
tree | 9f8da6e883a96aeb19d1038ca9690d80032ac502 /mm/mmap.c | |
parent | ea8e6ff212a50e9aa666de36df051b0d9bd8fe3e (diff) | |
parent | e8ddbcf9344bb742465f78779c6854fabf5c8341 (diff) |
Merge tag 'v3.8.13.8' into v3.8-rt
v3.8.13.8
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c index 6efac36cda08..82fbbab72323 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2294,7 +2294,7 @@ static void unmap_region(struct mm_struct *mm, struct mmu_gather tlb; lru_add_drain(); - tlb_gather_mmu(&tlb, mm, 0); + tlb_gather_mmu(&tlb, mm, start, end); update_hiwater_rss(mm); unmap_vmas(&tlb, vma, start, end); free_pgtables(&tlb, vma, prev ? prev->vm_end : FIRST_USER_ADDRESS, @@ -2671,7 +2671,7 @@ void exit_mmap(struct mm_struct *mm) lru_add_drain(); flush_cache_mm(mm); - tlb_gather_mmu(&tlb, mm, 1); + tlb_gather_mmu(&tlb, mm, 0, -1); /* update_hiwater_rss(mm) here? but nobody should be looking */ /* Use -1 here to ensure all VMAs in the mm are unmapped */ unmap_vmas(&tlb, vma, 0, -1); |