From: kernel test robot <oliver.sang@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
"Łukasz Bartosik" <ukaszb@chromium.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>, <oliver.sang@intel.com>
Subject: [jimc:dd-shrink-6a5] [dyndbg] a2f8b47e22: WARNING:suspicious_RCU_usage
Date: Mon, 27 Oct 2025 14:45:20 +0800 [thread overview]
Message-ID: <202510271402.c48bc913-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "WARNING:suspicious_RCU_usage" on:
commit: a2f8b47e22fa6a1a9852e392166bc9adf45cc17d ("dyndbg: simplify dynamic_debug_init()")
https://github.com/jimc/linux.git dd-shrink-6a5
in testcase: trinity
version:
with following parameters:
runtime: 300s
group: group-00
nr_groups: 5
config: x86_64-randconfig-075-20251025
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-----------------------------------------------------------+------------+------------+
| | 9d3aabecbe | a2f8b47e22 |
+-----------------------------------------------------------+------------+------------+
| WARNING:suspicious_RCU_usage | 0 | 30 |
| lib/maple_tree.c:#suspicious_rcu_dereference_check()usage | 0 | 30 |
+-----------------------------------------------------------+------------+------------+
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 <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202510271402.c48bc913-lkp@intel.com
[ 23.695945][ T1] WARNING: suspicious RCU usage
[ 23.705921][ T1] 6.17.0-00051-ga2f8b47e22fa #1 Not tainted
[ 23.720195][ T1] -----------------------------
[ 23.729772][ T1] lib/maple_tree.c:844 suspicious rcu_dereference_check() usage!
[ 23.741453][ T1]
[ 23.741453][ T1] other info that might help us debug this:
[ 23.741453][ T1]
[ 23.753628][ T1]
[ 23.753628][ T1] rcu_scheduler_active = 1, debug_locks = 1
[ 23.762172][ T1] no locks held by swapper/0/1.
[ 23.770029][ T1]
[ 23.770029][ T1] stack backtrace:
[ 23.780966][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.17.0-00051-ga2f8b47e22fa #1 PREEMPTLAZY 38e889c81473e39d3110c5fb5596ce5e6e0e62d6
[ 23.781069][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 23.781124][ T1] Call Trace:
[ 23.781165][ T1] <TASK>
[ 23.781254][ T1] dump_stack_lvl (lib/dump_stack.c:122)
[ 23.781389][ T1] lockdep_rcu_suspicious.cold (kernel/locking/lockdep.c:6877)
[ 23.781517][ T1] mas_start (lib/maple_tree.c:844 (discriminator 11) lib/maple_tree.c:1377 (discriminator 11))
[ 23.781654][ T1] mas_walk (lib/maple_tree.c:3629 lib/maple_tree.c:4939)
[ 23.781840][ T1] mas_find (lib/maple_tree.c:6019 lib/maple_tree.c:6058)
[ 23.781909][ T1] ? ddebug_store_range (lib/dynamic_debug.c:1510)
[ 23.782009][ T1] dynamic_debug_init (lib/dynamic_debug.c:1914 (discriminator 1))
[ 23.782139][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 23.782228][ T1] ? __lock_acquire (kernel/locking/lockdep.c:5237 (discriminator 1))
[ 23.782388][ T1] ? find_held_lock (kernel/locking/lockdep.c:5350 (discriminator 1))
[ 23.782432][ T1] ? add_device_randomness (drivers/char/random.c:944)
[ 23.782552][ T1] ? add_device_randomness (drivers/char/random.c:944)
[ 23.782618][ T1] ? __lock_release+0x54/0x160
[ 23.782691][ T1] ? rcu_is_watching (kernel/rcu/tree.c:752 (discriminator 3))
[ 23.782852][ T1] ? mix_pool_bytes (drivers/char/random.c:944)
[ 23.782946][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 23.783015][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 23.783112][ T1] do_one_initcall (init/main.c:1270)
[ 23.783200][ T1] ? __lock_release+0x54/0x160
[ 23.783271][ T1] ? trace_initcall_finish (init/main.c:1260)
[ 23.783338][ T1] ? do_raw_spin_unlock (kernel/locking/spinlock_debug.c:103 (discriminator 4) kernel/locking/spinlock_debug.c:141 (discriminator 4))
[ 23.783459][ T1] ? _raw_spin_unlock (include/linux/spinlock_api_smp.h:143 (discriminator 3) kernel/locking/spinlock.c:186 (discriminator 3))
[ 23.783526][ T1] ? __register_sysctl_table (fs/proc/proc_sysctl.c:1413)
[ 23.783596][ T1] ? queue_delayed_work_on (kernel/workqueue.c:2563 (discriminator 3))
[ 23.783755][ T1] kernel_init_freeable (init/main.c:1374 (discriminator 3) init/main.c:1568 (discriminator 3))
[ 23.783851][ T1] ? rest_init (init/main.c:1461)
[ 23.783944][ T1] kernel_init (init/main.c:1471)
[ 23.784012][ T1] ? rest_init (init/main.c:1461)
[ 23.784080][ T1] ret_from_fork (arch/x86/kernel/process.c:154)
[ 23.784174][ T1] ? rest_init (init/main.c:1461)
[ 23.784269][ T1] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 23.784500][ T1] </TASK>
[ 23.784560][ T1]
[ 24.143237][ T1] =============================
[ 24.149840][ T1] WARNING: suspicious RCU usage
[ 24.159712][ T1] 6.17.0-00051-ga2f8b47e22fa #1 Not tainted
[ 24.169961][ T1] -----------------------------
[ 24.179705][ T1] lib/maple_tree.c:800 suspicious rcu_dereference_check() usage!
[ 24.191810][ T1]
[ 24.191810][ T1] other info that might help us debug this:
[ 24.191810][ T1]
[ 24.203691][ T1]
[ 24.203691][ T1] rcu_scheduler_active = 1, debug_locks = 1
[ 24.212003][ T1] no locks held by swapper/0/1.
[ 24.219733][ T1]
[ 24.219733][ T1] stack backtrace:
[ 24.231089][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.17.0-00051-ga2f8b47e22fa #1 PREEMPTLAZY 38e889c81473e39d3110c5fb5596ce5e6e0e62d6
[ 24.231194][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 24.231251][ T1] Call Trace:
[ 24.231292][ T1] <TASK>
[ 24.231381][ T1] dump_stack_lvl (lib/dump_stack.c:122)
[ 24.231514][ T1] lockdep_rcu_suspicious.cold (kernel/locking/lockdep.c:6877)
[ 24.231644][ T1] mtree_range_walk (lib/maple_tree.c:800 (discriminator 11) lib/maple_tree.c:2797 (discriminator 11))
[ 24.231874][ T1] mas_walk (lib/maple_tree.c:3636 lib/maple_tree.c:4939)
[ 24.231971][ T1] mas_find (lib/maple_tree.c:6019 lib/maple_tree.c:6058)
[ 24.232036][ T1] ? ddebug_store_range (lib/dynamic_debug.c:1510)
[ 24.232134][ T1] dynamic_debug_init (lib/dynamic_debug.c:1914 (discriminator 1))
[ 24.232262][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 24.232328][ T1] ? __lock_acquire (kernel/locking/lockdep.c:5237 (discriminator 1))
[ 24.232485][ T1] ? find_held_lock (kernel/locking/lockdep.c:5350 (discriminator 1))
[ 24.232525][ T1] ? add_device_randomness (drivers/char/random.c:944)
[ 24.232623][ T1] ? add_device_randomness (drivers/char/random.c:944)
[ 24.232710][ T1] ? __lock_release+0x54/0x160
[ 24.232783][ T1] ? rcu_is_watching (kernel/rcu/tree.c:752 (discriminator 3))
[ 24.232944][ T1] ? mix_pool_bytes (drivers/char/random.c:944)
[ 24.233038][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 24.233107][ T1] ? dynamic_debug_init_control (lib/dynamic_debug.c:1873)
[ 24.233205][ T1] do_one_initcall (init/main.c:1270)
[ 24.233293][ T1] ? __lock_release+0x54/0x160
[ 24.233364][ T1] ? trace_initcall_finish (init/main.c:1260)
[ 24.233431][ T1] ? do_raw_spin_unlock (kernel/locking/spinlock_debug.c:103 (discriminator 4) kernel/locking/spinlock_debug.c:141 (discriminator 4))
[ 24.233551][ T1] ? _raw_spin_unlock (include/linux/spinlock_api_smp.h:143 (discriminator 3) kernel/locking/spinlock.c:186 (discriminator 3))
[ 24.233619][ T1] ? __register_sysctl_table (fs/proc/proc_sysctl.c:1413)
[ 24.233692][ T1] ? queue_delayed_work_on (kernel/workqueue.c:2563 (discriminator 3))
[ 24.233852][ T1] kernel_init_freeable (init/main.c:1374 (discriminator 3) init/main.c:1568 (discriminator 3))
[ 24.233950][ T1] ? rest_init (init/main.c:1461)
[ 24.234045][ T1] kernel_init (init/main.c:1471)
[ 24.234113][ T1] ? rest_init (init/main.c:1461)
[ 24.234203][ T1] ret_from_fork (arch/x86/kernel/process.c:154)
[ 24.234299][ T1] ? rest_init (init/main.c:1461)
[ 24.234398][ T1] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 24.234622][ T1] </TASK>
[ 24.591095][ T1] Must use shrinker_alloc() to dynamically allocate the shrinker
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251027/202510271402.c48bc913-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-10-27 6:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202510271402.c48bc913-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=jim.cromie@gmail.com \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
--cc=ukaszb@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.