Messages in this thread | | | Date | Fri, 4 Feb 2011 09:03:07 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [patch 2/5] memcg: change page_cgroup_zoneinfo signature |
| |
On Thu, 3 Feb 2011 15:26:03 +0100 Johannes Weiner <hannes@cmpxchg.org> wrote:
> Instead of passing a whole struct page_cgroup to this function, let it > take only what it really needs from it: the struct mem_cgroup and the > page. > > This has the advantage that reading pc->mem_cgroup is now done at the > same place where the ordering rules for this pointer are enforced and > explained. > > It is also in preparation for removing the pc->page backpointer. > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
| |