On Fri, 8 Mar 2024 at 13:39, Linus Torvalds <torva...@linux-foundation.org> wrote: > > So the above "complexity" is *literally* just changing the > > (new = atomic_read_acquire(&my->seq)) != old > > condition to > > should_exit || > (new = atomic_read_acquire(&my->seq)) != old
.. and obviously you'll need to add the exit condition to the actual "deal with events" loop too. Linus