Hi Jens! On 1/1/21 4:08 PM, Jens Axboe wrote: > On 1/1/21 7:06 AM, John Paul Adrian Glaubitz wrote: >> 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. How long is this test supposed to run? It's already been running for some minutes on my 600 MHz machine. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@xxxxxxxxxx `. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913