Jens, I'll read your email tomorrow, just one note for now ... On 04/07, Jens Axboe wrote: > > On 4/7/20 9:19 AM, Oleg Nesterov wrote: > > > > but this task has not passed exit_task_work(), > > But it's definitely hitting callback->func == NULL, which is the > exit_work. So if it's not from past exit_task_work(), where is it from? I guess it comes from task_work_run() added by the next patch ;) > I see your newer email on this, I'll go read it. please look at the "bad_work_func" example. Oleg.