Re: [PATCH v4 04/27] x86/mce: Delete ist_begin_non_atomic()

From: Andy Lutomirski
Date: Fri Feb 21 2020 - 14:07:26 EST


On Fri, Feb 21, 2020 at 5:50 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> It is an abomination; and in prepration of removing the whole
> ist_enter() thing, it needs to go.
>
> Convert #MC over to using task_work_add() instead; it will run the
> same code slightly later, on the return to user path of the same
> exception.

This looks correct to me.