On 1/1/21 7:06 AM, John Paul Adrian Glaubitz wrote: > Hi Jens! > > On 11/17/20 4:06 PM, Jens Axboe wrote: >> On 11/16/20 10:26 PM, John Paul Adrian Glaubitz wrote: >>> Hi Jens! >>> >>> On 11/9/20 3:14 PM, Jens Axboe wrote: >>>>> Sorry for the delay. I'm busy at the moment and my SH board is currently >>>>> building the Perl 5.32 package for Debian. Will try to test your patches >>>>> by tomorrow, also ia64. >>>> >>>> Thanks, both would be appreciated! Just CC'ed you on the updated patch >>>> for sh. >>> >>> Is this still relevant for testing? I'm ready to test now, much later than >>> I thought, sorry. >>> >>> I'm going to build Linus' latest kernel for my SH and IA64 machines now >>> and then I can test additional patches on top of it. >> >> Thanks, would definitely still appreciate testing. You can just run >> linux-next if you want, it's got everything in there. Or apply the >> separate patches to -git, either approach is fine. > > Apologies for the late reply. > > I just pulled Linus' latest tree today with your patch for SH included and > I'm not seeing any regressions. > > Is there away to test the change itself? The only user of TWA_SIGNAL, which uses TIF_NOTIFY_SIGNAL, so far is io_uring. You need something that triggers deferred task_work processing, which is basically anything that ends up being poll driven for data/space readiness. Here's a small test app from the liburing test suite, that'll trigger it. If you install liburing, compile with: gcc -Wall -O2 -o socket-rw socket-rw.c -luring and run it without any arguments. -- Jens Axboe