# git rev-parse -q --verify 86de312343c4b56d699f8ed98aac8bdab1e94225^{commit} 86de312343c4b56d699f8ed98aac8bdab1e94225 already have revision, skipping fetch # git checkout -q -f -B kisskb 86de312343c4b56d699f8ed98aac8bdab1e94225 # git clean -qxdf # < git log -1 # commit 86de312343c4b56d699f8ed98aac8bdab1e94225 # Author: Nicholas Piggin # Date: Mon Jun 10 13:08:18 2019 +1000 # # powerpc/64s/radix: Enable HAVE_ARCH_HUGE_VMAP # # This sets the HAVE_ARCH_HUGE_VMAP option, and defines the required # page table functions. # # This enables huge (2MB and 1GB) ioremap mappings. I don't have a # benchmark for this change, but huge vmap will be used by a later core # kernel change to enable huge vmalloc memory mappings. This improves # cached `git diff` performance by about 5% on a 2-node POWER9 with 32MB # size dentry cache hash. # # Profiling git diff dTLB misses with a vanilla kernel: # # 81.75% git [kernel.vmlinux] [k] __d_lookup_rcu # 7.21% git [kernel.vmlinux] [k] strncpy_from_user # 1.77% git [kernel.vmlinux] [k] find_get_entry # 1.59% git [kernel.vmlinux] [k] kmem_cache_free # # 40,168 dTLB-miss # 0.100342754 seconds time elapsed # # With powerpc huge vmalloc: # # 2,987 dTLB-miss # 0.095933138 seconds time elapsed # # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /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 86de312343c4b56d699f8ed98aac8bdab1e94225 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/warp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5f154c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-pika+ Created: Sun Jun 16 23:30:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3083227 Bytes = 3010.96 KiB = 2.94 MiB Load Address: 00600000 Entry Point: 00601524 Completed OK # rm -rf /kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 # Build took: 0:00:36.130785