Messages in this thread Patch in this message | | | Date | Sat, 7 Jan 2012 11:46:17 +0800 | Subject | [PATCH] mm: vmscan: no change of reclaim mode if unevictable page encountered | From | Hillf Danton <> |
| |
Since unevictable page is not isolated from lru list for shrink_page_list(), it is accident if encountered in shrinking, and no need to change reclaim mode.
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: David Rientjes <rientjes@google.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Hillf Danton <dhillf@gmail.com> ---
--- a/mm/vmscan.c Thu Dec 29 20:20:16 2011 +++ b/mm/vmscan.c Sat Jan 7 11:27:44 2012 @@ -995,7 +995,6 @@ cull_mlocked: try_to_free_swap(page); unlock_page(page); putback_lru_page(page); - reset_reclaim_mode(sc); continue;
activate_locked:
| |