Re: [PATCH 05/12] unwind: Add comment to unwind_deferred_task_exit()
From: Steven Rostedt
Date: Wed Oct 22 2025 - 11:16:37 EST
On Mon, 20 Oct 2025 12:16:02 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > I would state that it also flushes any unwind that is currently pending, as
> > exit_mm() will prevent it from happening.
>
> It now reads:
>
> + /*
> + * PF_EXITING (above) ensures unwind_deferred_request() will no
> + * longer add new unwinds. While exit_mm() (below) will destroy the
> + * abaility to do unwinds. So flush any pending unwinds here.
> + */
> + unwind_deferred_task_exit(tsk);
Thanks,
Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
-- Steve