# git rev-parse -q --verify b5641a5d8b8b14643bfe3d017d64da90a5c55479^{commit} b5641a5d8b8b14643bfe3d017d64da90a5c55479 already have revision, skipping fetch # git checkout -q -f -B kisskb b5641a5d8b8b14643bfe3d017d64da90a5c55479 # git clean -qxdf # < git log -1 # commit b5641a5d8b8b14643bfe3d017d64da90a5c55479 # Author: Linus Torvalds # Date: Mon Jul 3 19:29:48 2023 -0700 # # mm: don't do validate_mm() unnecessarily and without mmap locking # # This is an addition to commit ae80b4041984 ("mm: validate the mm before # dropping the mmap lock"), because it turns out there were two problems, # but lockdep just stopped complaining after finding the first one. # # The do_vmi_align_munmap() function now drops the mmap lock after doing # the validate_mm() call, but it turns out that one of the callers then # immediately calls validate_mm() again. # # That's both a bit silly, and now (again) happens without the mmap lock # held. # # So just remove that validate_mm() call from the caller, but make sure to # not lose any coverage by doing that mm sanity checking in the error path # of do_vmi_align_munmap() too. # # Reported-and-tested-by: kernel test robot # Link: https://lore.kernel.org/lkml/ZKN6CdkKyxBShPHi@xsang-OptiPlex-9020/ # Fixes: 408579cd627a ("mm: Update do_vmi_align_munmap() return semantics") # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 b5641a5d8b8b14643bfe3d017d64da90a5c55479 # make -s -j 24 ARCH=mips O=/kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- micro32r2el_defconfig Using /kisskb/src/arch/mips/configs/generic_defconfig as base Merging /kisskb/src/arch/mips/configs/generic/micro32r2.config Merging /kisskb/src/arch/mips/configs/generic/el.config Merging /kisskb/src/arch/mips/configs/generic/board-boston.config Merging /kisskb/src/arch/mips/configs/generic/board-marduk.config Merging /kisskb/src/arch/mips/configs/generic/board-ni169445.config Merging /kisskb/src/arch/mips/configs/generic/board-ocelot.config Merging /kisskb/src/arch/mips/configs/generic/board-ranchu.config Merging /kisskb/src/arch/mips/configs/generic/board-sead-3.config Merging /kisskb/src/arch/mips/configs/generic/board-virt.config Merging /kisskb/src/arch/mips/configs/generic/board-xilfpga.config # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 24 ARCH=mips O=/kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- {standard input}: Assembler messages: {standard input}:5074: Error: branch to a symbol in another ISA mode make[5]: *** [/kisskb/src/scripts/Makefile.build:243: arch/mips/kernel/smp-cps.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:477: arch/mips/kernel] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:477: arch/mips] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2024: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 24 ARCH=mips O=/kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_micro32r2el_defconfig_mips-gcc11 # Build took: 0:02:29.983048