aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 73d0472884c2..5cb47111f79e 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -840,6 +840,7 @@ int try_to_unmap_one(struct page *page, struct vm_area_struct *vma,
840 spin_unlock(&mmlist_lock); 840 spin_unlock(&mmlist_lock);
841 } 841 }
842 dec_mm_counter(mm, MM_ANONPAGES); 842 dec_mm_counter(mm, MM_ANONPAGES);
843 inc_mm_counter(mm, MM_SWAPENTS);
843 } else if (PAGE_MIGRATION) { 844 } else if (PAGE_MIGRATION) {
844 /* 845 /*
845 * Store the pfn of the page in a special migration 846 * Store the pfn of the page in a special migration