From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx185.postini.com [74.125.245.185]) by kanga.kvack.org (Postfix) with SMTP id 08D7D6B0069 for ; Mon, 2 Jul 2012 06:56:08 -0400 (EDT) Received: by lbjn8 with SMTP id n8so9552996lbj.14 for ; Mon, 02 Jul 2012 03:56:07 -0700 (PDT) Date: Mon, 2 Jul 2012 13:56:03 +0300 (EEST) From: Pekka Enberg Subject: Re: [PATCH] slab: do not call compound_head() in page_get_cache() In-Reply-To: Message-ID: References: <1340233273-10994-1-git-send-email-walken@google.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Michel Lespinasse , linux-mm@kvack.org, Christoph Lameter , Matt Mackall , linux-kernel@vger.kernel.org, Andrew Morton On Wed, 20 Jun 2012, David Rientjes wrote: > On Wed, 20 Jun 2012, Michel Lespinasse wrote: > > > page_get_cache() does not need to call compound_head(), as its unique > > caller virt_to_slab() already makes sure to return a head page. > > > > Additionally, removing the compound_head() call makes page_get_cache() > > consistent with page_get_slab(). > > > > Signed-off-by: Michel Lespinasse > > Acked-by: David Rientjes The page_get_cache() helper is no longer used in the slab/next branch of git://github.com/penberg/linux.git Pekka -- 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