On Mon, 28 Mar 2011 16:51:09 -0700 Ying Han <yinghan@xxxxxxxxxx> 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 <yinghan@xxxxxxxxxx> seems better. Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx 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@xxxxxxxxx"> email@xxxxxxxxx </a>