Re: [patch V4 part 1 05/36] x86/entry: Flip _TIF_SIGPENDING and _TIF_NOTIFY_RESUME handling

From: Andy Lutomirski
Date: Thu May 07 2020 - 13:35:32 EST


On Tue, May 5, 2020 at 7:13 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Make sure task_work runs before any kind of userspace -- very much
> including signals -- is invoked.

I certainly approve of the change, but anything that fundamentally
relies on this makes me uneasy. I'll keep an eye out for potential
problems.