aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r--mm/swapfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c
index f071648e1360..ab93505dfbf4 100644
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
@@ -730,7 +730,8 @@ static int try_to_unuse(unsigned int type)
730 */ 730 */
731 swap_map = &si->swap_map[i]; 731 swap_map = &si->swap_map[i];
732 entry = swp_entry(type, i); 732 entry = swp_entry(type, i);
733 page = read_swap_cache_async(entry, NULL, 0); 733 page = read_swap_cache_async(entry,
734 GFP_HIGHUSER_MOVABLE, NULL, 0);
734 if (!page) { 735 if (!page) {
735 /* 736 /*
736 * Either swap_duplicate() failed because entry 737 * Either swap_duplicate() failed because entry