Re: [RFC PATCH v1] mm: improve call_controls_lock

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-lkp,dev.linux.lists.damon,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>

Hello,

kernel test robot noticed "INFO:trying_to_register_non-static_key" on:

commit: d87e70902c77a5dc3a4fd4fe78c1172b4b644495 ("[RFC PATCH v1] mm: improve call_controls_lock")
url: https://github.com/intel-lab-lkp/linux/commits/Asier-Gutierrez/mm-improve-call_controls_lock/20251229-225805
base: v6.19-rc3
patch link: https://lore.kernel.org/all/[email protected]/
patch subject: [RFC PATCH v1] mm: improve call_controls_lock

in testcase: boot

config: i386-randconfig-005-20260101
compiler: gcc-14
test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G

(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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]


[    1.225255][    T1] INFO: trying to register non-static key.
[    1.226642][    T1] The code is fine but needs lockdep annotation, or maybe
[    1.227181][    T1] you didn't initialize this object before use?
[    1.227181][    T1] turning off the locking correctness validator.
[    1.227181][    T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Tainted: G                T   6.19.0-rc3-00001-gd87e70902c77 #1 VOLUNTARY  7c12528289a79a90bef93a94128a85da378fc562
[    1.227181][    T1] Tainted: [T]=RANDSTRUCT
[    1.227181][    T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    1.227181][    T1] Call Trace:
[    1.227181][    T1]  ? dump_stack_lvl (lib/dump_stack.c:122)
[    1.227181][    T1]  ? dump_stack (lib/dump_stack.c:130)
[    1.227181][    T1]  ? register_lock_class (kernel/locking/lockdep.c:985 kernel/locking/lockdep.c:1299)
[    1.227181][    T1]  ? sched_clock_noinstr (arch/x86/kernel/tsc.c:273)
[    1.227181][    T1]  ? damon_start (mm/damon/core.c:1372)
[    1.227181][    T1]  ? kvm_sched_clock_read (arch/x86/kernel/kvmclock.c:91 (discriminator 2))
[    1.227181][    T1]  ? __lock_acquire (kernel/locking/lockdep.c:5113)
[    1.227181][    T1]  ? lock_acquire (kernel/locking/lockdep.c:470 (discriminator 4) kernel/locking/lockdep.c:5870 (discriminator 4))
[    1.227181][    T1]  ? damon_call (mm/damon/core.c:1460)
[    1.227181][    T1]  ? damon_start (mm/damon/core.c:1372)
[    1.227181][    T1]  ? __mutex_unlock_slowpath (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/atomic/atomic-long.h:40 include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.c:947)
[    1.227181][    T1]  ? hrtimer_nanosleep_restart (kernel/time/sleep_timeout.c:62)
[    1.227181][    T1]  ? _raw_spin_lock (include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[    1.227181][    T1]  ? damon_call (mm/damon/core.c:1460)
[    1.227181][    T1]  ? damon_stat_start (mm/damon/stat.c:219)
[    1.227181][    T1]  ? damon_reclaim_init (mm/damon/stat.c:258)
[    1.227181][    T1]  ? damon_stat_init (mm/damon/stat.c:271)
[    1.227181][    T1]  ? do_one_initcall (init/main.c:1378)
[    1.227181][    T1]  ? do_initcalls (init/main.c:1439 (discriminator 3) init/main.c:1456 (discriminator 3))
[    1.227181][    T1]  ? kernel_init_freeable (init/main.c:1692)
[    1.227181][    T1]  ? rest_init (init/main.c:1570)
[    1.227181][    T1]  ? kernel_init (init/main.c:1580)
[    1.227181][    T1]  ? ret_from_fork (arch/x86/kernel/process.c:164)
[    1.227181][    T1]  ? rest_init (init/main.c:1570)
[    1.227181][    T1]  ? ret_from_fork_asm (arch/x86/entry/entry_32.S:737)
[    1.227181][    T1]  ? entry_INT80_32 (arch/x86/entry/entry_32.S:945)


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260106/[email protected]



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.