# git rev-parse -q --verify 522f155b1e573236a92cea2f173046ca43070a73^{commit} 522f155b1e573236a92cea2f173046ca43070a73 already have revision, skipping fetch # git checkout -q -f -B kisskb 522f155b1e573236a92cea2f173046ca43070a73 # git clean -qxdf # < git log -1 # commit 522f155b1e573236a92cea2f173046ca43070a73 # Author: Aneesh Kumar K.V # Date: Mon Apr 16 16:57:24 2018 +0530 # # powerpc/book3s64: Enable split pmd ptlock. # # Testing with a threaded version of mmap_bench which allocate 1G chunks and # with large number of threads we find: # # without patch # # 32.72% mmap_bench [kernel.vmlinux] [k] do_raw_spin_lock # | # ---do_raw_spin_lock # | # --32.68%--0 # | # |--15.82%--pte_fragment_alloc # | | # | --15.79%--do_huge_pmd_anonymous_page # | __handle_mm_fault # | handle_mm_fault # | __do_page_fault # | handle_page_fault # | test_mmap # | test_mmap # | start_thread # | __clone # | # |--14.95%--do_huge_pmd_anonymous_page # | __handle_mm_fault # | handle_mm_fault # | __do_page_fault # | handle_page_fault # | test_mmap # | test_mmap # | start_thread # | __clone # | # # with patch # # 12.89% mmap_bench [kernel.vmlinux] [k] do_raw_spin_lock # | # ---do_raw_spin_lock # | # --12.83%--0 # | # |--3.21%--pagevec_lru_move_fn # | __lru_cache_add # | | # | --2.74%--do_huge_pmd_anonymous_page # | __handle_mm_fault # | handle_mm_fault # | __do_page_fault # | handle_page_fault # | test_mmap # | test_mmap # | start_thread # | __clone # | # |--3.11%--do_huge_pmd_anonymous_page # | __handle_mm_fault # | handle_mm_fault # | __do_page_fault # | handle_page_fault # | test_mmap # | test_mmap # | start_thread # | __clone # # ..... # | # --0.55%--pte_fragment_alloc # | # --0.55%--do_huge_pmd_anonymous_page # __handle_mm_fault # handle_mm_fault # __do_page_fault # handle_page_fault # test_mmap # test_mmap # start_thread # __clone # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-gcc --version # < git log --format=%s --max-count=1 522f155b1e573236a92cea2f173046ca43070a73 # < make -s -j 8 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- defconfig # make -s -j 8 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/vdso/Makefile:32: MIPS VDSO requires binutils >= 2.25 /kisskb/src/arch/mips/vdso/Makefile:32: MIPS VDSO requires binutils >= 2.25 /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:146:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:94:6: note: 'levelspread[]' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' 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:340: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:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here /kisskb/src/arch/mips/vdso/Makefile:32: MIPS VDSO requires binutils >= 2.25 /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] FIT description: Linux 4.17.0-rc3-g522f155 Created: Tue May 15 11:22:37 2018 Image 0 (kernel@0) Description: Linux 4.17.0-rc3-g522f155 Created: Tue May 15 11:22:37 2018 Type: Kernel Image Compression: gzip compressed Data Size: 4361970 Bytes = 4259.74 kB = 4.16 MB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x8085e470 Hash algo: sha1 Hash value: fc5193a1177d538ce4a503e1c064103f834bc647 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Tue May 15 11:22:37 2018 Type: Flat Device Tree Compression: uncompressed Data Size: 3668 Bytes = 3.58 kB = 0.00 MB Architecture: MIPS Hash algo: sha1 Hash value: 569c37cc891ce1e1f3a193cb41cc691a5d2debb5 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Tue May 15 11:22:37 2018 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 kB = 0.00 MB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mips # Build took: 0:02:00.246450