Re: [PATCH 5/5] task_work: use TIF_NOTIFY_SIGNAL if available

From: Thomas Gleixner
Date: Fri Oct 16 2020 - 05:39:46 EST


On Fri, Oct 16 2020 at 11:00, Thomas Gleixner wrote:
> On Thu, Oct 15 2020 at 12:39, Jens Axboe wrote:
>> On 10/15/20 9:49 AM, Oleg Nesterov wrote:
> So if you change #2 to:
>
> Drop the CONFIG_GENERIC_ENTRY dependency, make _all_ architectures
> use TIF_NOTIFY_SIGNAL and clean up the jobctl and whatever related
> mess.
>
> and actually act apon it, then I'm fine with that approach.

Which makes me rethink my view on Olegs suggestion:

>>> You can simply nack the patch which adds TIF_NOTIFY_SIGNAL to
>>> arch/xxx/include/asm/thread_info.h.

That's a truly great suggestion:

X86 is going to have that TIF bit once the above is available.

I'm happy to help with the merge logistics of this.

Thanks,

tglx