aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index d196f46c8808..c8601dd36603 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -759,7 +759,7 @@ cull_mlocked:
759activate_locked: 759activate_locked:
760 /* Not a candidate for swapping, so reclaim swap space. */ 760 /* Not a candidate for swapping, so reclaim swap space. */
761 if (PageSwapCache(page) && vm_swap_full()) 761 if (PageSwapCache(page) && vm_swap_full())
762 remove_exclusive_swap_page_ref(page); 762 try_to_free_swap(page);
763 VM_BUG_ON(PageActive(page)); 763 VM_BUG_ON(PageActive(page));
764 SetPageActive(page); 764 SetPageActive(page);
765 pgactivate++; 765 pgactivate++;