# 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_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/npiggin_ppc40x_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_ppc40x_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_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1623:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1384 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x5a22a8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5a22a8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:36:10 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2892392 Bytes = 2824.60 KiB = 2.76 MiB Load Address: 00600000 Entry Point: 0060198c Image Name: Linux-5.8.0-rc3-gde8a34242c88 Created: Thu Jul 9 23:36:10 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2892570 Bytes = 2824.78 KiB = 2.76 MiB Load Address: 00600000 Entry Point: 00601750 Completed OK # rm -rf /kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 # Build took: 0:00:58.114754