On Tue, Mar 21, 2023 at 12:16 PM Jens Axboe <axboe@xxxxxxxxx> wrote: > > I haven't seen the patch yet as it hasn't been pushed, Well, it went out a couple of minutes before your email, so it's out now. > It may make sense to add some debug check for > PF_KTHREAD having TIF_NOTIFY_RESUME set, or task_work pending for that > matter, as that is generally not workable without doing something to > handle it explicitly. Yeah, I guess we could have some generic check for that. I'm not sure where it would be. Scheduler? Linus