# git rev-parse -q --verify de8a34242c88473ee615f66a7ded095f094e708e^{commit} de8a34242c88473ee615f66a7ded095f094e708e already have revision, skipping fetch # git checkout -q -f -B kisskb de8a34242c88473ee615f66a7ded095f094e708e # git clean -qxdf # < git log -1 # commit de8a34242c88473ee615f66a7ded095f094e708e # Author: Nicholas Piggin # Date: Thu Jul 9 17:07:59 2020 +1000 # # lazy tlb: shoot lazies, a non-refcounting lazy tlb option # # On big systems, the mm refcount can become highly contented when doing # a lot of context switching with threaded applications (particularly # switching between the idle thread and an application thread). # # Abandoning lazy tlb slows switching down quite a bit in the important # user->idle->user cases, so so instead implement a non-refcounted scheme # that causes __mmdrop() to IPI all CPUs in the mm_cpumask and shoot down # any remaining lazy ones. # # On a 16-socket 192-core POWER8 system, a context switching benchmark # with as many software threads as CPUs (so each switch will go in and # out of idle), upstream can achieve a rate of about 1 million context # switches per second. After this patch it goes up to 118 million. # # Signed-off-by: Nicholas Piggin # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 de8a34242c88473ee615f66a7ded095f094e708e # < make -s -j 48 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /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 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd71888) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd61084) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:32 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6569118 Bytes = 6415.15 KiB = 6.26 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599857 Bytes = 6445.17 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6602170 Bytes = 6447.43 KiB = 6.30 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599349 Bytes = 6444.68 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6602192 Bytes = 6447.45 KiB = 6.30 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599703 Bytes = 6445.02 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599989 Bytes = 6445.30 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599995 Bytes = 6445.31 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599906 Bytes = 6445.22 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599858 Bytes = 6445.17 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599981 Bytes = 6445.29 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:35 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599367 Bytes = 6444.69 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:35 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6600692 Bytes = 6445.99 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:35 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599347 Bytes = 6444.67 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6601295 Bytes = 6446.58 KiB = 6.30 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:34:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6599322 Bytes = 6444.65 KiB = 6.29 MiB Load Address: 00e00000 Entry Point: 00e002a4 Completed OK # rm -rf /kisskb/build/npiggin_mpc85xx_smp_defconfig_powerpc-gcc4.9 # Build took: 0:02:28.197194