aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index fbb9f6bdad6e..fbcac3bdcf19 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1356,7 +1356,7 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
1356 * IO, plus JVM can create lots of anon VM_EXEC pages, 1356 * IO, plus JVM can create lots of anon VM_EXEC pages,
1357 * so we ignore them here. 1357 * so we ignore them here.
1358 */ 1358 */
1359 if ((vm_flags & VM_EXEC) && !PageAnon(page)) { 1359 if ((vm_flags & VM_EXEC) && page_is_file_cache(page)) {
1360 list_add(&page->lru, &l_active); 1360 list_add(&page->lru, &l_active);
1361 continue; 1361 continue;
1362 } 1362 }