diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,8 +727,8 @@ void page_remove_rmap(struct page *page, struct vm_area_struct *vma) | |||
727 | page_clear_dirty(page); | 727 | page_clear_dirty(page); |
728 | set_page_dirty(page); | 728 | set_page_dirty(page); |
729 | } | 729 | } |
730 | 730 | if (PageAnon(page)) | |
731 | mem_cgroup_uncharge_page(page); | 731 | mem_cgroup_uncharge_page(page); |
732 | __dec_zone_page_state(page, | 732 | __dec_zone_page_state(page, |
733 | PageAnon(page) ? NR_ANON_PAGES : NR_FILE_MAPPED); | 733 | PageAnon(page) ? NR_ANON_PAGES : NR_FILE_MAPPED); |
734 | /* | 734 | /* |