On Thu, 24 Apr 2025 18:38:45 +0200 Peter Zijlstra <pet...@infradead.org> wrote:
> > + guard(irqsave)(); > > + > > + /* callback already pending? */ > > + pending = READ_ONCE(event->pending_unwind_callback); > > + if (pending) > > + return 1; > > + > > + /* Claim the work unless an NMI just now swooped in to do so. */ > > + if (!try_cmpxchg(&event->pending_unwind_callback, &pending, 1)) > > + return 1; > > + > > + /* The work has been claimed, now schedule it. */ > > + ret = task_work_add(current, work, TWA_RESUME); > > + if (WARN_ON_ONCE(ret)) { > > + WRITE_ONCE(event->pending_unwind_callback, 0); > > + return ret; > > + } > > + return 0; > > +} > > You have whitespace issues ... Bah, that may have been due to cut and paste to fix up things during the multiple rebases I did. Thanks! -- Steve