# git rev-parse -q --verify 787af64d05cd528aac9ad16752d11bb1c6061bb9^{commit} 787af64d05cd528aac9ad16752d11bb1c6061bb9 already have revision, skipping fetch # git checkout -q -f -B kisskb 787af64d05cd528aac9ad16752d11bb1c6061bb9 # git clean -qxdf # < git log -1 # commit 787af64d05cd528aac9ad16752d11bb1c6061bb9 # Author: Zi Yan # Date: Wed Mar 30 15:45:43 2022 -0700 # # mm: page_alloc: validate buddy before check its migratetype. # # Whenever a buddy page is found, page_is_buddy() should be called to # check its validity. Add the missing check during pageblock merge check. # # Fixes: 1dd214b8f21c ("mm: page_alloc: avoid merging non-fallbackable pageblocks with others") # Link: https://lore.kernel.org/all/20220330154208.71aca532@gandalf.local.home/ # Reported-and-tested-by: Steven Rostedt # Signed-off-by: Zi Yan # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-ld --version # < git log --format=%s --max-count=1 787af64d05cd528aac9ad16752d11bb1c6061bb9 # < make -s -j 32 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- rv32_defconfig # < make -s -j 32 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- help # make -s -j 32 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- olddefconfig # make -s -j 32 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- Completed OK # rm -rf /kisskb/build/linus_rv32_defconfig_riscv-gcc11 # Build took: 0:01:05.476994