On 2/20/21 10:04 PM, Linus Torvalds wrote: > On Fri, Feb 19, 2021 at 9:10 AM Jens Axboe <axboe@xxxxxxxxx> wrote: >> >> tldr - instead of using kthreads that assume the identity of the original >> tasks for work that needs offloading to a thread, setup these workers as >> threads of the original task. > > Ok, from a quick look-through of the patch series this most definitely > seems to be the right way to go, getting rid of a lot of subtle (and > not-so-subtle) issues. Yeah, it's hard to find any downsides to doing this... FWIW, ran it through prod testing and so far so good. I may actually push this for 5.12-rc1 if things continue looking good. As a separate pull request, so you can make the call on whether you want it simmering for another release or not. -- Jens Axboe