Re: [PATCH 05/10] perf/uprobe: SRCU-ify uprobe->consumer list
From: Peter Zijlstra
Date: Tue Jul 09 2024 - 10:33:11 EST
On Tue, Jul 09, 2024 at 03:33:49PM +0200, Oleg Nesterov wrote:
> I guess it should do
>
> WRITE_ONCE(uc->next, uprobe->consumers);
> rcu_assign_pointer(uprobe->consumers, uc);
Yes...