On 12/20/20 11:01 AM, Pavel Begunkov wrote: > On 20/12/2020 13:21, Pavel Begunkov wrote: >> First two are only for task cancellation, the last one for both. >> >> Jens, do you remember the exact reason why you added the check >> removed in [3/3]? I have a clue, but that stuff doesn't look >> right regardless. See "exit: do exit_task_work() before shooting >> off mm" thread. > > The question is answered, the bug is still here, but that's too > early for 3/3. Please consider first 2 patches. Yep, first two look good to me, thanks! -- Jens Axboe