From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx206.postini.com [74.125.245.206]) by kanga.kvack.org (Postfix) with SMTP id 598B86B033D for ; Mon, 25 Jun 2012 09:05:43 -0400 (EDT) Message-ID: <4FE86188.6060700@parallels.com> Date: Mon, 25 Jun 2012 17:03:04 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [PATCH v4 06/25] memcg: Make it possible to use the stock for more than one page. References: <1340015298-14133-1-git-send-email-glommer@parallels.com> <1340015298-14133-7-git-send-email-glommer@parallels.com> <20120620132804.GF5541@tiehlicka.suse.cz> In-Reply-To: <20120620132804.GF5541@tiehlicka.suse.cz> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-mm@kvack.org, Pekka Enberg , Cristoph Lameter , David Rientjes , cgroups@vger.kernel.org, devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, linux-kernel@vger.kernel.org, Frederic Weisbecker , Suleiman Souhlal On 06/20/2012 05:28 PM, Michal Hocko wrote: > I guess you want: > if (nr_pages > CHARGE_BATCH) > return false; > > because you don't want to try to use stock for THP pages. Done, thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org