]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Switch to rcu_dereference_all()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 28 Nov 2025 12:32:21 +0000 (13:32 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Dec 2025 07:25:02 +0000 (08:25 +0100)
commit71fedc41c23b0010c578e6e224694ca15c19cf7d
treed1ef4bac876fc2265a1b840bddba364fdbe38389
parentf24165bfa7ef6b37856c8f51e2001b9ad10ba688
sched/fair: Switch to rcu_dereference_all()

With the {rcu,sched,bh} RCU flavours being unified, it doesn't really
make sense to check for just the rcu one. Switch to the _all family of
verification which includes all 3 of the listed flavours.

Notably, this will enable us to remove some superfluous
rcu_read_lock() regions when we know they are inside preempt/IRQ
disabled regions.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
kernel/sched/sched.h