aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 2c1c2cb0e2e1..6451ce2854b9 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1756,12 +1756,6 @@ static void remove_vma_list(struct mm_struct *mm, struct vm_area_struct *vma)
1756 do { 1756 do {
1757 long nrpages = vma_pages(vma); 1757 long nrpages = vma_pages(vma);
1758 1758
1759 if (vma->vm_flags & VM_EXEC) {
1760 perf_counter_munmap(vma->vm_start,
1761 nrpages << PAGE_SHIFT,
1762 vma->vm_pgoff, vma->vm_file);
1763 }
1764
1765 mm->total_vm -= nrpages; 1759 mm->total_vm -= nrpages;
1766 vm_stat_account(mm, vma->vm_flags, vma->vm_file, -nrpages); 1760 vm_stat_account(mm, vma->vm_flags, vma->vm_file, -nrpages);
1767 vma = remove_vma(vma); 1761 vma = remove_vma(vma);