On 2026-03-19 03:43:17 [-0700], Paul E. McKenney wrote:
> On Thu, Mar 19, 2026 at 03:05:40AM -0700, Paul E. McKenney wrote:
> > On Thu, Mar 19, 2026 at 09:55:48AM +0100, Sebastian Andrzej Siewior wrote:
> > > On 2026-03-18 11:48:56 [-0700], Paul E. McKenney wrote:
> > > > We would need a lockless enqueue, which we have in llist.h.
> > > 
> > > Only if CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. Otherwise you must not
> > > provide call_rcu_nmi().
> > 
> > I *think* that BPF is provided only in such architectures, so agreed.
> 
> Plus srcu_read_lock_fast() uses atomic_long_inc(), which is supposed to
> be NMI-safe anyway, correct?

I am not aware of any NMI restrictions for the atomic ops, just cmpxchg.

>                                                       Thanx, Paul

Sebastian

Reply via email to