# git rev-parse -q --verify fcf88917dd435c6a4cb2830cb086ee58605a1d85^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify fcf88917dd435c6a4cb2830cb086ee58605a1d85^{commit} fcf88917dd435c6a4cb2830cb086ee58605a1d85 # git checkout -q -f -B kisskb fcf88917dd435c6a4cb2830cb086ee58605a1d85 # git clean -qxdf # < git log -1 # commit fcf88917dd435c6a4cb2830cb086ee58605a1d85 # Author: Qian Cai # Date: Sat Apr 6 18:59:01 2019 -0400 # # slab: fix a crash by reading /proc/slab_allocators # # The commit 510ded33e075 ("slab: implement slab_root_caches list") # changes the name of the list node within "struct kmem_cache" from "list" # to "root_caches_node", but leaks_show() still use the "list" which # causes a crash when reading /proc/slab_allocators. # # You need to have CONFIG_SLAB=y and CONFIG_MEMCG=y to see the problem, # because without MEMCG all slab caches are root caches, and the "list" # node happens to be the right one. # # Fixes: 510ded33e075 ("slab: implement slab_root_caches list") # Signed-off-by: Qian Cai # Reviewed-by: Tobin C. Harding # Cc: Tejun Heo # Cc: Andrew Morton # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 fcf88917dd435c6a4cb2830cb086ee58605a1d85 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xCD435020 # 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 # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:67:0: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:20:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:26:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ WARNING: 4 bad relocations c00000000001e9c6 R_PPC64_ADDR16_HIGHEST .head.text+0x000000000001e9e0 c00000000001e9ca R_PPC64_ADDR16_HIGHER .head.text+0x000000000001e9e0 c00000000001e9d2 R_PPC64_ADDR16_HIGH .head.text+0x000000000001e9e0 c00000000001e9d6 R_PPC64_ADDR16_LO .head.text+0x000000000001e9e0 INFO: Uncompressed kernel (size 0x29162b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2a00000) Image Name: Linux-5.1.0-rc4-gfcf88917dd43 Created: Mon Apr 8 16:04:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 13023346 Bytes = 12718.11 KiB = 12.42 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc5 # Build took: 0:03:12.889874