Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722Ab1BXF4q (ORCPT ); Thu, 24 Feb 2011 00:56:46 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:57837 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748Ab1BXF4p (ORCPT ); Thu, 24 Feb 2011 00:56:45 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Thu, 24 Feb 2011 14:50:16 +0900 From: KAMEZAWA Hiroyuki To: Hugh Dickins Cc: Andrew Morton , Balbir Singh , Daisuke Nishimura , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] memcg: more mem_cgroup_uncharge batching Message-Id: <20110224145016.794247a0.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: References: 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: 746 Lines: 18 On Wed, 23 Feb 2011 21:44:33 -0800 (PST) Hugh Dickins wrote: > It seems odd that truncate_inode_pages_range(), called not only when > truncating but also when evicting inodes, has mem_cgroup_uncharge_start > and _end() batching in its second loop to clear up a few leftovers, but > not in its first loop that does almost all the work: add them there too. > > Signed-off-by: Hugh Dickins Thank you. 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/