On 3/12/21 2:34 PM, Linus Torvalds wrote: > On Fri, Mar 12, 2021 at 1:25 PM Linus Torvalds > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: >> >> Note: I've pulled your tree, I just want you to dig deeper, verify, >> and check this for perhaps re-instating freezability. > > Also note that I don't think it's _just_ that freeze_task() thing that > is needed for the fix. > > I think the io_uring threads then need to do the whole > "try_to_freeze()" dance in the main loop or something, so that it does > actually freeze. Right, and they did before the change. The freezing did work, the thaw just left us with that sigpending and caused the never-scheduler busy behavior. But I'll unify it all when the thawing is sorted (which I think it is), and then enable it for all three types. -- Jens Axboe