# git rev-parse -q --verify 353f7988dd8413c47718f7ca79c030b6fb62cfe5^{commit} 353f7988dd8413c47718f7ca79c030b6fb62cfe5 already have revision, skipping fetch # git checkout -q -f -B kisskb 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # git clean -qxdf # < git log -1 # commit 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # Author: Linus Torvalds # Date: Tue Jul 19 11:09:01 2022 -0700 # # watchqueue: make sure to serialize 'wqueue->defunct' properly # # When the pipe is closed, we mark the associated watchqueue defunct by # calling watch_queue_clear(). However, while that is protected by the # watchqueue lock, new watchqueue entries aren't actually added under that # lock at all: they use the pipe->rd_wait.lock instead, and looking up # that pipe happens without any locking. # # The watchqueue code uses the RCU read-side section to make sure that the # wqueue entry itself hasn't disappeared, but that does not protect the # pipe_info in any way. # # So make sure to actually hold the wqueue lock when posting watch events, # properly serializing against the pipe being torn down. # # Reported-by: Noam Rathaus # Cc: Greg KH # Cc: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:7344:warning: override: reassigning to symbol STANDALONE .config:7348:warning: override: reassigning to symbol PPC64 .config:7350:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:7351:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:05:23.008351