lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@google.com>

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2012-06-21 04:21    [from the cache]
©2003-2011 Jasper Spaans