The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Andrea Righi <arighi@nvidia.com>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	<linux-kernel@vger.kernel.org>, <x86@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	<aubrey.li@linux.intel.com>, <yu.c.chen@intel.com>,
	<oliver.sang@intel.com>
Subject: [tip:sched/core] [sched/fair]  c9d93a73ce: WARNING:suspicious_RCU_usage
Date: Sat, 23 May 2026 21:27:06 +0800	[thread overview]
Message-ID: <202605232131.cfcd45a2-lkp@intel.com> (raw)



Hello,

kernel test robot noticed "WARNING:suspicious_RCU_usage" on:

commit: c9d93a73ce871ca32caf9308562501290b64b955 ("sched/fair: Drop redundant RCU read lock in NOHZ kick path")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core


in testcase: rcutorture
version: 
with following parameters:

	runtime: 300s
	test: cpuhotplug
	torture_type: tasks-rude



config: x86_64-randconfig-001-20260521
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G

(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 <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202605232131.cfcd45a2-lkp@intel.com



[  102.159951][   T23]
[  102.160730][   T23] =============================
[  102.162072][   T23] WARNING: suspicious RCU usage
[  102.163398][   T23] 7.1.0-rc2-00011-gc9d93a73ce87 #1 Not tainted
[  102.165064][   T23] -----------------------------
[  102.167687][   T23] kernel/sched/fair.c:12793 suspicious rcu_dereference_check() usage!
[  102.169994][   T23]
[  102.169994][   T23] other info that might help us debug this:
[  102.169994][   T23]
[  102.169994][   T23] other info that might help us debug this:
[  102.169994][   T23]
[  102.169994][   T23] other info that might help us debug this:
[  102.169994][   T23]
[  102.175418][   T23]
[  102.175418][   T23] rcu_scheduler_active = 2, debug_locks = 1
[  102.175418][   T23]
[  102.175418][   T23] rcu_scheduler_active = 2, debug_locks = 1
[  102.175418][   T23]
[  102.175418][   T23] rcu_scheduler_active = 2, debug_locks = 1
[  102.180431][   T23] 2 locks held by cpuhp/1/23:
[  102.182158][   T23]  #0: ffffffff872eadf0 (cpu_hotplug_lock){++++}-{0:0}, at: cpuhp_thread_fun (cpu.c:545 cpu.c:1085)
[  102.184843][   T23]  #1: ffffffff872eaf20 (cpuhp_state-down){+.+.}-{0:0}, at: cpuhp_thread_fun (cpu.c:545 cpu.c:1085)
[  102.187589][   T23]
[  102.187589][   T23] stack backtrace:
[  102.187589][   T23]
[  102.187589][   T23] stack backtrace:
[  102.187589][   T23]
[  102.187589][   T23] stack backtrace:
[  102.189233][   T23] CPU: 1 UID: 0 PID: 23 Comm: cpuhp/1 Not tainted 7.1.0-rc2-00011-gc9d93a73ce87 #1 PREEMPT
[  102.189241][   T23] Call Trace:
[  102.189245][   T23]  <TASK>
[  102.189251][   T23]  __dump_stack (dump_stack.c:94)
[  102.189260][   T23]  dump_stack_lvl (dump_stack.c:120)
[  102.189266][   T23]  dump_stack (dump_stack.c:129)
[  102.189270][   T23]  lockdep_rcu_suspicious (locking/lockdep.c:6876)
[  102.189279][   T23]  set_cpu_sd_state_busy (sched/fair.c:12793)
[  102.189286][   T23]  nohz_balance_exit_idle (sched/fair.c:12812)
[  102.189293][   T23]  sched_cpu_deactivate (sched/core.c:8677)
[  102.189300][   T23]  ? trace_cpuhp_enter (trace/events/cpuhp.h:10)
[  102.189305][   T23]  ? balance_push_set (sched/sched.h:?)
[  102.189312][   T23]  cpuhp_invoke_callback (cpu.c:194)
[  102.189315][   T23]  ? lock_acquire (locking/lockdep.c:5868)
[  102.189321][   T23]  ? cpuhp_thread_fun (cpu.c:545 cpu.c:1085)
[  102.189326][   T23]  ? lock_acquire (locking/lockdep.c:5868)
[  102.189337][   T23]  cpuhp_thread_fun (cpu.c:1109)
[  102.189341][   T23]  ? cpuhp_thread_fun (cpu.c:545 cpu.c:1085)
[  102.189350][   T23]  ? cpuhp_should_run (cpu.c:?)
[  102.189354][   T23]  smpboot_thread_fn (smpboot.c:160)
[  102.189364][   T23]  ? smpboot_thread_fn (smpboot.c:?)
[  102.189373][   T23]  kthread (kthread.c:436)
[  102.189379][   T23]  ? smpboot_unregister_percpu_thread (smpboot.c:321)
[  102.189385][   T23]  ? kthread_unuse_mm (kthread.c:?)
[  102.189392][   T23]  ret_from_fork (x86/kernel/process.c:158)
[  102.189397][   T23]  ? kthread_unuse_mm (kthread.c:?)
[  102.189402][   T23]  ret_from_fork_asm (x86/entry/entry_64.S:245)
[  102.189416][   T23]  </TASK>


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260523/202605232131.cfcd45a2-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


             reply	other threads:[~2026-05-23 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-23 13:27 kernel test robot [this message]
2026-05-25  1:53 ` [tip:sched/core] [sched/fair] c9d93a73ce: WARNING:suspicious_RCU_usage Chen, Yu C
2026-05-25  4:24   ` Andrea Righi
2026-05-25  8:08     ` Chen, Yu C

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=202605232131.cfcd45a2-lkp@intel.com \
    --to=oliver.sang@intel.com \
    --cc=arighi@nvidia.com \
    --cc=aubrey.li@linux.intel.com \
    --cc=kprateek.nayak@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=peterz@infradead.org \
    --cc=vincent.guittot@linaro.org \
    --cc=x86@kernel.org \
    --cc=yu.c.chen@intel.com \
    /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