# git rev-parse -q --verify 2abd839aa7e615f2bbc50c8ba7deb9e40d186768^{commit} 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 already have revision, skipping fetch # git checkout -q -f -B kisskb 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # git clean -qxdf # < git log -1 # commit 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # Author: Catalin Marinas # Date: Fri Oct 4 14:46:24 2019 +0100 # # kmemleak: Do not corrupt the object_list during clean-up # # In case of an error (e.g. memory pool too small), kmemleak disables # itself and cleans up the already allocated metadata objects. However, if # this happens early before the RCU callback mechanism is available, # put_object() skips call_rcu() and frees the object directly. This is not # safe with the RCU list traversal in __kmemleak_do_cleanup(). # # Change the list traversal in __kmemleak_do_cleanup() to # list_for_each_entry_safe() and remove the rcu_read_{lock,unlock} since # the kmemleak is already disabled at this point. In addition, avoid an # unnecessary metadata object rb-tree look-up since it already has the # struct kmemleak_object pointer. # # Fixes: c5665868183f ("mm: kmemleak: use the memory pool for early allocations") # Reported-by: Alexey Kardashevskiy # Reported-by: Marc Dionne # Reported-by: Ted Ts'o # Cc: Andrew Morton # Signed-off-by: Catalin Marinas # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1497:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_trigger': /kisskb/src/sound/soc/soc-pcm.c:1074:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_bespoke_trigger': /kisskb/src/sound/soc/soc-pcm.c:1092:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc3b770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2afa8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914229 Bytes = 5775.61 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914234 Bytes = 5775.62 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914481 Bytes = 5775.86 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913546 Bytes = 5774.95 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914776 Bytes = 5776.15 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5881289 Bytes = 5743.45 KiB = 5.61 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914283 Bytes = 5775.67 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913805 Bytes = 5775.20 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914819 Bytes = 5776.19 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914552 Bytes = 5775.93 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914236 Bytes = 5775.62 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5915122 Bytes = 5776.49 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914482 Bytes = 5775.86 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914289 Bytes = 5775.67 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5915097 Bytes = 5776.46 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc3-g2abd839aa7e6 Created: Tue Oct 15 03:41:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5915071 Bytes = 5776.44 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:07.631645