# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 d909f9109c301f4e9e41678025c45d719ab8f7d7 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x543588) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x543588) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x543588) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x532f14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x543588) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-gd909f9109c30 Created: Wed Jun 19 23:56:00 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2639558 Bytes = 2577.69 KiB = 2.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-gd909f9109c30 Created: Wed Jun 19 23:56:00 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2670997 Bytes = 2608.40 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006019cc Image Name: Linux-5.2.0-rc2-gd909f9109c30 Created: Wed Jun 19 23:56:00 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2670839 Bytes = 2608.24 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 00601758 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:41.543423