[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4404e6f4-84f5-41c8-95ca-ed2f40617319@suse.cz>
Date: Fri, 12 Jul 2024 09:40:23 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: alexs@...nel.org, Andrew Morton <akpm@...ux-foundation.org>,
Christoph Lameter <cl@...ux.com>, Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>, Joonsoo Kim <iamjoonsoo.kim@....com>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Hyeonggon Yoo <42.hyeyoo@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>, Yoann Congal
<yoann.congal@...le.fr>, Masahiro Yamada <masahiroy@...nel.org>,
Petr Mladek <pmladek@...e.com>, Suren Baghdasaryan <surenb@...gle.com>
Subject: Re: [PATCH v3] mm/memcg: alignment memcg_data define condition
On 7/12/24 6:14 AM, alexs@...nel.org wrote:
> From: "Alex Shi (Tencent)" <alexs@...nel.org>
>
> commit 21c690a349ba ("mm: introduce slabobj_ext to support slab object
> extensions") changed the folio/page->memcg_data define condition from
> MEMCG to SLAB_OBJ_EXT. This action make memcg_data exposed while !MEMCG.
>
> As Vlastimil Babka suggested, let's add _unused_slab_obj_ext for
> SLAB_MATCH for slab.obj_exts while !MEMCG. That could resolve the match
> issue, clean up the feature logical.
>
> Signed-off-by: Alex Shi (Tencent) <alexs@...nel.org>
> Cc: Randy Dunlap <rdunlap@...radead.org>
> Cc: Yoann Congal <yoann.congal@...le.fr>
> Cc: Masahiro Yamada <masahiroy@...nel.org>
> Cc: Petr Mladek <pmladek@...e.com>
> Cc: Suren Baghdasaryan <surenb@...gle.com>
> Cc: Vlastimil Babka <vbabka@...e.cz>
Thanks, added to slab/for-next
Powered by blists - more mailing lists