diff options
author | Alex Shi (Tencent) <alexs@kernel.org> | 2024-07-12 12:14:35 +0800 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2024-07-15 10:42:30 +0200 |
commit | a52c6330ff2fe1163333fa6609bdc6e8763ec286 (patch) | |
tree | 8b27b8d9841e632c9ec9b70ff9b06891c215d03b /mm/util.c | |
parent | 7b1fdf2ba4bc1434bb4c0077d7c9079a5a45df27 (diff) |
mm/memcg: alignment memcg_data define condition
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_exts 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@kernel.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yoann Congal <yoann.congal@smile.fr>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions