[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1206201837320.7850@chino.kir.corp.google.com>
Date: Wed, 20 Jun 2012 18:37:49 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Michel Lespinasse <walken@...gle.com>
cc: linux-mm@...ck.org, Christoph Lameter <cl@...ux-foundation.org>,
Pekka Enberg <penberg@...nel.org>,
Matt Mackall <mpm@...enic.com>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] slab: do not call compound_head() in page_get_cache()
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 <walken@...gle.com>
Acked-by: David Rientjes <rientjes@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists