diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |