On Thu, 23 Feb 2012 17:51:51 +0400 Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> wrote: > Global memory reclaimer shouldn't skip any page referencies. > > This patch pass sc->target_mem_cgroup into page_referenced(). > On global memory reclaim it always NULL, so we will account all. > Cgroup reclaimer will account only referencies from target cgroup and its childs. > > Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> seems nice to me. Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. 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>