On Thu, 21 Apr 2011 21:24:19 -0700 Ying Han <yinghan@xxxxxxxxxx> wrote: > After reclaiming each node per memcg, it checks mem_cgroup_watermark_ok() > and breaks the priority loop if it returns true. The per-memcg zone will > be marked as "unreclaimable" if the scanning rate is much greater than the > reclaiming rate on the per-memcg LRU. The bit is cleared when there is a > page charged to the memcg being freed. Kswapd breaks the priority loop if > all the zones are marked as "unreclaimable". > > changelog v7..v6: > 1. fix merge conflicts w/ the thread-pool patch. > > changelog v6..v5: > 1. make global zone_unreclaimable use the ZONE_MEMCG_RECLAIMABLE_RATE. > 2. add comment on the zone_unreclaimable > > changelog v5..v4: > 1. reduce the frequency of updating mz->unreclaimable bit by using the existing > memcg batch in task struct. > 2. add new function mem_cgroup_mz_clear_unreclaimable() for recoganizing zone. > > changelog v4..v3: > 1. split off from the per-memcg background reclaim patch in V3. > > Signed-off-by: Ying Han <yinghan@xxxxxxxxxx> 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>