# git rev-parse -q --verify fd37b884003c7e46a0337b6e9212326d3ee1f40d^{commit} fd37b884003c7e46a0337b6e9212326d3ee1f40d already have revision, skipping fetch # git checkout -q -f -B kisskb fd37b884003c7e46a0337b6e9212326d3ee1f40d # git clean -qxdf # < git log -1 # commit fd37b884003c7e46a0337b6e9212326d3ee1f40d # Author: Jens Axboe # Date: Mon Jun 12 12:11:57 2023 -0600 # # io_uring/io-wq: don't clear PF_IO_WORKER on exit # # A recent commit gated the core dumping task exit logic on current->flags # remaining consistent in terms of PF_{IO,USER}_WORKER at task exit time. # This exposed a problem with the io-wq handling of that, which explicitly # clears PF_IO_WORKER before calling do_exit(). # # The reasons for this manual clear of PF_IO_WORKER is historical, where # io-wq used to potentially trigger a sleep on exit. As the io-wq thread # is exiting, it should not participate any further accounting. But these # days we don't need to rely on current->flags anymore, so we can safely # remove the PF_IO_WORKER clearing. # # Reported-by: Zorro Lang # Reported-by: Dave Chinner # Link: https://lore.kernel.org/all/ZIZSPyzReZkGBEFy@dread.disaster.area/ # Fixes: f9010dbdce91 ("fork, vhost: Use CLONE_THREAD to fix freezer/ps regression") # Signed-off-by: Jens Axboe # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fd37b884003c7e46a0337b6e9212326d3ee1f40d # make -s -j 160 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:12.847161