# 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-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 fd37b884003c7e46a0337b6e9212326d3ee1f40d # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- allmodconfig # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus_allmodconfig_arm64-gcc11 # Build took: 0:26:27.097766