Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759327Ab0KPEEY (ORCPT ); Mon, 15 Nov 2010 23:04:24 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:40499 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759263Ab0KPEEX (ORCPT ); Mon, 15 Nov 2010 23:04:23 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Tue, 16 Nov 2010 12:58:46 +0900 From: KAMEZAWA Hiroyuki To: Greg Thelen Cc: Andrew Morton , Balbir Singh , Daisuke Nishimura , Johannes Weiner , Wu Fengguang , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] memcg: simplify mem_cgroup_page_stat() Message-Id: <20101116125846.0f35b82b.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1289294671-6865-5-git-send-email-gthelen@google.com> References: <1289294671-6865-1-git-send-email-gthelen@google.com> <1289294671-6865-5-git-send-email-gthelen@google.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.3 (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: 597 Lines: 16 On Tue, 9 Nov 2010 01:24:29 -0800 Greg Thelen wrote: > The cgroup given to mem_cgroup_page_stat() is no allowed to be > NULL or the root cgroup. So there is no need to complicate the code > handling those cases. > > Signed-off-by: Greg Thelen 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/