From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 91BCC6B007D for ; Thu, 21 Jan 2010 18:58:53 -0500 (EST) Received: from m1.gw.fujitsu.co.jp ([10.0.50.71]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o0LNwo6W020361 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Fri, 22 Jan 2010 08:58:51 +0900 Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id B6D1B45DE55 for ; Fri, 22 Jan 2010 08:58:50 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 408EA45DE51 for ; Fri, 22 Jan 2010 08:58:50 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 06C051DB803A for ; Fri, 22 Jan 2010 08:58:50 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.249.87.103]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 4CCE3E38002 for ; Fri, 22 Jan 2010 08:58:48 +0900 (JST) Date: Fri, 22 Jan 2010 08:55:22 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 27 of 30] memcg compound Message-Id: <20100122085522.36a55b5c.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20100121154408.GA5598@random.random> References: <2f3ecb53039bd9ae8c7a.1264054851@v2.random> <20100121160759.3dcad6ae.kamezawa.hiroyu@jp.fujitsu.com> <20100121154408.GA5598@random.random> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Andi Kleen , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , Christoph Lameter , Chris Wright , Andrew Morton List-ID: On Thu, 21 Jan 2010 16:44:08 +0100 Andrea Arcangeli wrote: > On Thu, Jan 21, 2010 at 04:07:59PM +0900, KAMEZAWA Hiroyuki wrote: > > On Thu, 21 Jan 2010 07:20:51 +0100 > > Andrea Arcangeli wrote: > > > > > From: Andrea Arcangeli > > > > > > Teach memcg to charge/uncharge compound pages. > > > > > > Signed-off-by: Andrea Arcangeli > > > > I'm sorry but I'm glad if you don't touch fast path. > > > > if (likely(page_size == PAGE_SIZE)) > > if (consume_stock(mem)) > > goto charged; > > > > is my recommendation. > > Ok updated. But I didn't touch this code since last submit, because I > didn't merge the other patch (not yet in mainline) that you said would > complicate things. So I assume most if it will need to be rewritten. I > also though you wanted to remove the hpage size from the batch logic. > I see. Thank you. -Kame -- 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