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

From: Miroslav Benes
Date: Wed May 06 2020 - 07:53:40 EST


On Tue, 5 May 2020, Thomas Gleixner wrote:

> Make sure task_work runs before any kind of userspace -- very much
> including signals -- is invoked.

I might be missing something, but isn't this guaranteed by
do_signal()->get_signal()->task_work_run() path?

Miroslav