Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754920Ab1BDAJO (ORCPT ); Thu, 3 Feb 2011 19:09:14 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:42598 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752555Ab1BDAJM (ORCPT ); Thu, 3 Feb 2011 19:09:12 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Fri, 4 Feb 2011 09:03:07 +0900 From: KAMEZAWA Hiroyuki To: Johannes Weiner Cc: Andrew Morton , Daisuke Nishimura , Balbir Singh , , Subject: Re: [patch 2/5] memcg: change page_cgroup_zoneinfo signature Message-Id: <20110204090307.38d7a7ea.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1296743166-9412-3-git-send-email-hannes@cmpxchg.org> References: <1296743166-9412-1-git-send-email-hannes@cmpxchg.org> <1296743166-9412-3-git-send-email-hannes@cmpxchg.org> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.1.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 829 Lines: 23 On Thu, 3 Feb 2011 15:26:03 +0100 Johannes Weiner 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 Acked-by: KAMEZAWA Hiroyuki -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/