Re: [PATCH v14 09/12] unwind deferred: Use SRCU unwind_deferred_task_work()

From
Paul E. McKenney <paulmck@kernel.org>
Date
2025-07-17 16:54:37
Also in
bpf, lkml
Reply to
Steven Rostedt, 2025-07-17
On Thu, Jul 17, 2025 at 12:38:35PM -0400, Steven Rostedt wrote:
On Thu, 17 Jul 2025 09:27:34 -0700
"Paul E. McKenney" [off-list ref] wrote:
quoted
quoted
Two, I'm still grasping at the concept of srcu_fast (and srcu_lite for
that matter), where I rather be slow and safe than optimize and be
unsafe. The code where this is used may be faulting in user space
memory, so it doesn't need the micro-optimizations now.  
Straight-up SRCU and guard(srcu), then?  Both are already in mainline.

Or are those read-side smp_mb() calls a no-go for this code?
As I stated, the read-side is likely going to be faulting in user space
memory. I don't think one or two smp_mb() will really make much of a
difference ;-)

It's not urgent. If it can be switched to srcu_fast, we can do it later.
Very good, we will continue with our removal of SRCU-lite, and I might
as well add guard(srcu_fast) in my current series.

							Thanx, Paul
Thread (21 messages) 21 messages, 3 authors, last reply 2025-07-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help