Re: [RFC PATCH 1/2] rcu: Add rcu_read_lock_notrace()
From: "Paul E. McKenney" <paulmck@kernel.org>
Date: 2025-07-14 16:34:17
Also in:
linux-rt-devel, rcu
From: "Paul E. McKenney" <paulmck@kernel.org>
Date: 2025-07-14 16:34:17
Also in:
linux-rt-devel, rcu
On Fri, Jul 11, 2025 at 10:05:26AM -0700, Paul E. McKenney wrote:
On Fri, Jul 11, 2025 at 09:46:25AM -0400, Mathieu Desnoyers wrote:
[ . . . ]
quoted
AFAIU the goal here is to turn the guard(preempt_notrace)() into a guard(rcu_notrace)() because the preempt-off critical sections don't agree with BPF.OK, got it, thank you! The combination of BPF and CONFIG_PREEMPT_RT certainly has provided at least its share of entertainment, that is for sure. ;-)
Is there a similar issue with CONFIG_PREEMPT_LAZY, given that in that case rcu_read_unlock() maps to preempt_enable(), which also can invoke the scheduler? Thanx, Paul