# git rev-parse -q --verify d909f9109c301f4e9e41678025c45d719ab8f7d7^{commit} d909f9109c301f4e9e41678025c45d719ab8f7d7 already have revision, skipping fetch # git checkout -q -f -B kisskb d909f9109c301f4e9e41678025c45d719ab8f7d7 # git clean -qxdf # < git log -1 # commit d909f9109c301f4e9e41678025c45d719ab8f7d7 # 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 d909f9109c301f4e9e41678025c45d719ab8f7d7 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # yes \n | make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ WARNING: vmlinux.o(.text+0x30d0): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le-gcc5 # Build took: 0:03:38.002133