Re: [PATCH v4 30/39] unwind_user/deferred: Make unwind deferral requests NMI-safe
From: Peter Zijlstra
Date: Fri Jan 24 2025 - 06:58:33 EST
On Thu, Jan 23, 2025 at 03:34:45PM -0800, Josh Poimboeuf wrote:
> Here's what I have at the moment. unwind_deferred_request() is vastly
> simplified thanks to your suggestions, no more NMI-specific muck.
> work->pending is replaced with work->cookie so the task work can use it
> in case it crossed the cookie-clearing boundary (return-to-user with
> IRQs disabled).
That looks a lot saner, thanks! I'll be waiting for the next cycle, not
sure I can track all the changes in me head.