Re: [PATCH V2 1/2] count the soft_limit reclaim in global background reclaim
From: KAMEZAWA Hiroyuki <hidden>
Date: 2011-03-29 01:06:45
On Mon, 28 Mar 2011 16:51:09 -0700 Ying Han [off-list ref] wrote:
In the global background reclaim, we do soft reclaim before scanning the per-zone LRU. However, the return value is ignored. We would like to skip shrink_zone() if soft_limit reclaim does enough work. Also, we need to make the memory pressure balanced across per-memcg zones, like the logic vm-core. This patch is the first step where we start with counting the nr_scanned and nr_reclaimed from soft_limit reclaim into the global scan_control. Change log v2...v1: 1. Not skipping the shrink_zone() but instead count the nr_scanned and nr_reclaimed in the global scan_control. 2. Removed the stats into the next patch. Signed-off-by: Ying Han <redacted>
seems better. Acked-by: KAMEZAWA Hiroyuki <redacted> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>