Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753657Ab0FGGGn (ORCPT ); Mon, 7 Jun 2010 02:06:43 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:47550 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539Ab0FGGGm (ORCPT ); Mon, 7 Jun 2010 02:06:42 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Mon, 7 Jun 2010 15:02:07 +0900 From: KAMEZAWA Hiroyuki To: Daisuke Nishimura Cc: Andrew Morton , Balbir Singh , LKML , linux-mm Subject: Re: [cleanup][PATCH -mmotm 1/2] memcg: remove redundant codes Message-Id: <20100607150207.6971b8b9.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20100607145239.cb5cb917.nishimura@mxp.nes.nec.co.jp> References: <20100607145239.cb5cb917.nishimura@mxp.nes.nec.co.jp> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.2 (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: 1030 Lines: 26 On Mon, 7 Jun 2010 14:52:39 +0900 Daisuke Nishimura wrote: > These patches are based on mmotm-2010-06-03-16-36 + some already merged patches > for memcg. > > === > From: Daisuke Nishimura > > - try_get_mem_cgroup_from_mm() calls rcu_read_lock/unlock by itself, so we > don't have to call them in task_in_mem_cgroup(). > - *mz is not used in __mem_cgroup_uncharge_common(). > - we don't have to call lookup_page_cgroup() in mem_cgroup_end_migration() > after we've cleared PCG_MIGRATION of @oldpage. > - remove empty comment. > - remove redundant empty line in mem_cgroup_cache_charge(). > > Signed-off-by: Daisuke Nishimura 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/