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

From: David Rientjes
Date: Wed Jun 20 2012 - 21:37:48 EST


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>
--
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/