[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c116655-a4ce-5f61-2d98-e85c31e11184@google.com>
Date: Wed, 9 Mar 2022 09:15:35 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Matthew Wilcox <willy@...radead.org>
cc: sxwjean@...com, cl@...ux.com, penberg@...nel.org,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org, vbabka@...e.cz,
longman@...hat.com, guro@...com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Xiongwei Song <sxwjean@...il.com>
Subject: Re: [PATCH 2/2] mm: slub: Delete useless parameter of
alloc_slab_page()
On Wed, 9 Mar 2022, Matthew Wilcox wrote:
> On Wed, Mar 09, 2022 at 10:50:52PM +0800, sxwjean@...com wrote:
> > From: Xiongwei Song <sxwjean@...il.com>
> >
> > The parameter @s is useless for alloc_slab_page(), let's delete it.
>
> Perhaps we could add a little more information here.
>
> It was added in 2014 by 5dfb41750992 ("sl[au]b: charge slabs to kmemcg
> explicitly"). The need for it was removed in 2020 by 1f3147b49d75
> ("mm: slub: call account_slab_page() after slab page initialization").
>
> Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>
>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists