# 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 80 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/npiggin_mpc85xx_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/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) /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) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd164c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc0e48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6250438 Bytes = 6103.94 KiB = 5.96 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6285003 Bytes = 6137.70 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284394 Bytes = 6137.10 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284996 Bytes = 6137.69 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284371 Bytes = 6137.08 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6286717 Bytes = 6139.37 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284974 Bytes = 6137.67 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6285724 Bytes = 6138.40 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6285434 Bytes = 6138.12 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284359 Bytes = 6137.07 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284397 Bytes = 6137.11 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6286657 Bytes = 6139.31 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284903 Bytes = 6137.60 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6285070 Bytes = 6137.76 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284998 Bytes = 6137.69 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:33:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284362 Bytes = 6137.07 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/npiggin_mpc85xx_defconfig_powerpc-gcc4.9 # Build took: 0:02:14.043732