]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/cache: Fix rcu warning when accessing sd_llc domain
authorChen Yu <yu.c.chen@intel.com>
Wed, 13 May 2026 20:39:18 +0000 (13:39 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 18 May 2026 19:33:16 +0000 (21:33 +0200)
commitd943b86dfbf4e9b76be30cf90b1b3f82ff9abbac
tree79a1eac18636eb87edd93282f98c0cf030d71c2e
parentc1e7fe5e75ed11fa85368e5a186472afd3858f3a
sched/cache: Fix rcu warning when accessing sd_llc domain

rcu_dereference_all() should be used to access the
sd_llc domain under RCU protection.

This bug was reported by sashiko.

Fixes: df0d98475954 ("sched/cache: Introduce infrastructure for cache-aware load balancing")
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Co-developed-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/2dc49455e861215d8059a1c877953f0b95990038.1778703694.git.tim.c.chen@linux.intel.com
kernel/sched/fair.c