| Submitter | Greg Kroah-Hartman |
|---|---|
| Date | 2009-11-06 22:15:25 |
| Message ID | <20091106221550.930885114@mini.kroah.org> |
| Download | mbox | patch |
| Permalink | /patch/58162/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1298,7 +1298,7 @@ static void shrink_active_list(unsigned * IO, plus JVM can create lots of anon VM_EXEC pages, * so we ignore them here. */ - if ((vm_flags & VM_EXEC) && !PageAnon(page)) { + if ((vm_flags & VM_EXEC) && page_is_file_cache(page)) { list_add(&page->lru, &l_active); continue; }