lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 7 Jan 2012 11:46:17 +0800 From: Hillf Danton <dhillf@...il.com> To: linux-mm@...ck.org Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>, David Rientjes <rientjes@...gle.com>, Mel Gorman <mgorman@...e.de>, Andrew Morton <akpm@...ux-foundation.org>, Hillf Danton <dhillf@...il.com>, LKML <linux-kernel@...r.kernel.org> Subject: [PATCH] mm: vmscan: no change of reclaim mode if unevictable page encountered 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@...fujitsu.com> Cc: David Rientjes <rientjes@...gle.com> Cc: Mel Gorman <mgorman@...e.de> Cc: Andrew Morton <akpm@...ux-foundation.org> Signed-off-by: Hillf Danton <dhillf@...il.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: -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists