On Wed, Apr 05, 2023 at 02:05:13PM +0200, Frederic Weisbecker wrote: > On Wed, Apr 05, 2023 at 01:41:48PM +0200, Peter Zijlstra wrote: > 1) It has the advantage to check context tracking _after_ the llist_add(), so > it really can't be misused ordering-wise. > > 2) The IPI callback is always enqueued and then executed upon return > from userland. The ordering makes sure it will either IPI or execute > upon return to userspace. *from userspace