summaryrefslogtreecommitdiffstats
path: root/rust/kernel
diff options
context:
space:
mode:
authorAlex Shi (Tencent) <alexs@kernel.org>2024-07-12 06:14:35 +0200
committerVlastimil Babka <vbabka@suse.cz>2024-07-15 10:42:30 +0200
commita52c6330ff2fe1163333fa6609bdc6e8763ec286 (patch)
tree8b27b8d9841e632c9ec9b70ff9b06891c215d03b /rust/kernel
parentmm, slab: move prepare_slab_obj_exts_hook under CONFIG_MEM_ALLOC_PROFILING (diff)
downloadlinux-a52c6330ff2fe1163333fa6609bdc6e8763ec286.tar.xz
linux-a52c6330ff2fe1163333fa6609bdc6e8763ec286.zip
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 'rust/kernel')
0 files changed, 0 insertions, 0 deletions