Re: [PATCH] slab: do not call compound_head() in page_get_cache()

From: Pekka Enberg
Date: Mon Jul 02 2012 - 06:56:14 EST


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 <walken@xxxxxxxxxx>
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

The page_get_cache() helper is no longer used in the slab/next branch of

git://github.com/penberg/linux.git

Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/