On Thu, 3 Feb 2011 15:26:05 +0100 Johannes Weiner <hannes@xxxxxxxxxxx> wrote: > The per-cgroup LRU lists string up 'struct page_cgroup's. To get from > those structures to the page they represent, a lookup is required. > Currently, the lookup is done through a direct pointer in struct > page_cgroup, so a lot of functions down the callchain do this lookup > by themselves instead of receiving the page pointer from their > callers. > > The next patch removes this pointer, however, and the lookup is no > longer that straight-forward. In preparation for that, this patch > only leaves the non-optional lookups when coming directly from the LRU > list and passes the page down the stack. > > Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> Maybe good. 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>