From: kernel test robot <yi1.lai@intel.com>
To: "Harry Yoo (Meta)" <harry@kernel.org>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com, linux-mm@kvack.org,
Vlastimil Babka <vbabka@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Suren Baghdasaryan <surenb@google.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>,
Shakeel Butt <shakeel.butt@linux.dev>,
Roman Gushchin <roman.gushchin@linux.dev>,
Hao Li <hao.li@linux.dev>, Christoph Lameter <cl@gentwo.org>,
David Rientjes <rientjes@google.com>,
Muchun Song <muchun.song@linux.dev>, Hao Ge <hao.ge@linux.dev>,
Pedro Falcato <pfalcato@suse.de>,
linux-kernel@vger.kernel.org, kernel-team@meta.com,
"Harry Yoo (Meta)" <harry@kernel.org>,
yi1.lai@intel.com
Subject: Re: [PATCH slab/for-next 14/14] mm/slab: do not set SLAB_MAY_ACCOUNT for all caches
Date: Mon, 26 Oct 2026 09:02:54 +0800 [thread overview]
Message-ID: <202610260827.e64ec9d3-lkp@intel.com> (raw)
In-Reply-To: <20261021-memalloc-prof-dont-waste-slabobj-ext-metadata-v1-14-096800aa3330@kernel.org>
Hello,
kernel test robot noticed "sysfs:cannot_create_duplicate_filename" on:
commit: 74db9d3510fc1c12bbe4e56d0f034a734dd69d2e ("[PATCH slab/for-next 14/14] mm/slab: do not set SLAB_MAY_ACCOUNT for all caches")
url: https://github.com/intel-lab-lkp/linux/commits/Harry-Yoo-Meta/mm-slab-allow-passing-SLAB_MAY_ACCOUNT-to-kmem_cache_create/20261021-124642
patch link: https://lore.kernel.org/all/20261021-memalloc-prof-dont-waste-slabobj-ext-metadata-v1-14-096800aa3330@kernel.org/
patch subject: [PATCH slab/for-next 14/14] mm/slab: do not set SLAB_MAY_ACCOUNT for all caches
in testcase: trinity
version: trinity-x86_64-d4c26f234-1_20261018
with following parameters:
runtime: 600s
config: x86_64-kexec
compiler: clang-22
test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge,enforce -smp 4 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yi1.lai@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202610260827.e64ec9d3-lkp@intel.com
[ 2.984089][ T1] sched_clock: Marking stable (2784008153, 199498551)->(3129505678, -145998974)
[ 3.004962][ T1] registered taskstats version 1
[ 3.007428][ T1] Loading compiled-in X.509 certificates
[ 3.017205][ T1] sysfs: cannot create duplicate filename '/kernel/slab/:a-0000256'
[ 3.021027][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.3.0-rc1-00024-g74db9d3510fc #1 PREEMPTLAZY
[ 3.021034][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 3.021036][ T1] Call Trace:
[ 3.021055][ T1] <TASK>
[ 3.021059][ T1] dump_stack_lvl+0x43/0x70
[ 3.021066][ T1] sysfs_warn_dup+0x5b/0x70
[ 3.021072][ T1] sysfs_create_dir_ns+0xae/0x130
[ 3.021077][ T1] kobject_add_internal+0xb2/0x230
[ 3.021081][ T1] kobject_init_and_add+0x81/0xb0
[ 3.021088][ T1] sysfs_slab_add+0x7d/0x1b0
[ 3.021092][ T1] slab_late_init+0x79/0xb0
[ 3.021098][ T1] ? __pfx_slab_late_init+0x10/0x10
[ 3.021101][ T1] do_one_initcall+0xef/0x330
[ 3.021106][ T1] ? __alloc_frozen_pages_noprof+0x145/0x2f0
[ 3.021111][ T1] ? alloc_from_new_slab+0x1b2/0x270
[ 3.021115][ T1] ? refill_objects+0x2cb/0x330
[ 3.021118][ T1] ? irqentry_exit+0x89/0x5f0
[ 3.021124][ T1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 3.021128][ T1] ? __pfx_ignore_unknown_bootoption+0x10/0x10
[ 3.021135][ T1] ? strlen+0x10/0x30
[ 3.021140][ T1] ? parameq+0x17/0x70
[ 3.021146][ T1] ? __pfx_ignore_unknown_bootoption+0x10/0x10
[ 3.021150][ T1] ? parse_args+0x117/0x2b0
[ 3.021154][ T1] do_initcall_level+0x7c/0xf0
[ 3.021159][ T1] do_initcalls+0x59/0xb0
[ 3.021164][ T1] kernel_init_freeable+0xd2/0x170
[ 3.021168][ T1] ? __pfx_kernel_init+0x10/0x10
[ 3.021172][ T1] kernel_init+0x1f/0x130
[ 3.021176][ T1] ret_from_fork+0xe0/0x1f0
[ 3.021180][ T1] ? __pfx_kernel_init+0x10/0x10
[ 3.021184][ T1] ret_from_fork_asm+0x1a/0x30
[ 3.021188][ T1] </TASK>
[ 3.021192][ T1] kobject: kobject_add_internal failed for :a-0000256 with -EEXIST, don't try to register things with the same name in the same directory.
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20261026/202610260827.e64ec9d3-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-10-26 1:03 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 11:46 [PATCH slab/for-next 00/14] mm/slab: mandate SLAB_MAY_ACCOUNT for __GFP_ACCOUNT allocations to avoid wasting memory for slab metadata Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 01/14] mm/slab: allow passing SLAB_MAY_ACCOUNT to kmem_cache_create() Harry Yoo (Meta)
2026-10-22 11:48 ` sashiko-bot
2026-10-21 11:46 ` [PATCH slab/for-next 02/14] lib/maple_tree: specify SLAB_MAY_ACCOUNT for maple_node cache Harry Yoo (Meta)
2026-10-22 11:48 ` sashiko-bot
2026-10-21 11:46 ` [PATCH slab/for-next 03/14] lib/xarray: specify SLAB_MAY_ACCOUNT for radix_tree_node cache Harry Yoo (Meta)
2026-10-22 11:48 ` sashiko-bot
2026-10-21 11:46 ` [PATCH slab/for-next 04/14] fs/buffer: specify SLAB_MAY_ACCOUNT for buffer_head cache Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 05/14] net: skbuff: specify SLAB_MAY_ACCOUNT for skbuff_head_cache Harry Yoo (Meta)
2026-10-21 19:19 ` Jakub Kicinski
2026-10-22 13:43 ` Harry Yoo
2026-10-23 17:56 ` Jakub Kicinski
2026-10-21 11:46 ` [PATCH slab/for-next 06/14] kernel/fork: specify SLAB_MAY_ACCOUNT for thread_stack cache Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 07/14] arm64/mm: specify SLAB_MAY_ACCOUNT for pgd_cache Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 08/14] powerpc/mm: specify SLAB_MAY_ACCOUNT for pgtable caches Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 09/14] iommu: specify SLAB_MAY_ACCOUNT for slab-backed page table caches Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 10/14] fanotify: specify SLAB_MAY_ACCOUNT for event caches Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 11/14] smack: specify SLAB_MAY_ACCOUNT for smack_rule cache Harry Yoo (Meta)
2026-10-21 16:59 ` Casey Schaufler
2026-10-21 18:48 ` Harry Yoo
2026-10-21 19:14 ` Casey Schaufler
2026-10-22 12:54 ` Harry Yoo
2026-10-21 11:46 ` [PATCH slab/for-next 12/14] hostfs: specify SLAB_MAY_ACCOUNT for inode cache Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 13/14] mm/memcontrol: do not allow charging objects without SLAB_MAY_ACCOUNT Harry Yoo (Meta)
2026-10-21 11:46 ` [PATCH slab/for-next 14/14] mm/slab: do not set SLAB_MAY_ACCOUNT for all caches Harry Yoo (Meta)
2026-10-22 11:48 ` sashiko-bot
2026-10-26 1:02 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610260827.e64ec9d3-lkp@intel.com \
--to=yi1.lai@intel.com \
--cc=akpm@linux-foundation.org \
--cc=cl@gentwo.org \
--cc=hannes@cmpxchg.org \
--cc=hao.ge@linux.dev \
--cc=hao.li@linux.dev \
--cc=harry@kernel.org \
--cc=kernel-team@meta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=mhocko@kernel.org \
--cc=muchun.song@linux.dev \
--cc=oe-lkp@lists.linux.dev \
--cc=pfalcato@suse.de \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox