lkml.org 
[lkml]   [2012]   [Jul]   [2]   [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, 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@google.com>
>
> Acked-by: David Rientjes <rientjes@google.com>

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

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

Pekka


\
 
 \ /
  Last update: 2012-07-02 13:42    [W:0.067 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site