# 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-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 522f155b1e573236a92cea2f173046ca43070a73 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- allmodconfig # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': /kisskb/src/arch/powerpc/include/asm/io.h:160:2: warning: 'px_is' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn"%U0%X0 %1,%0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:14: note: 'px_is' was declared here u32 px_cmd, px_is, px_val; ^ In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/arch/powerpc/include/asm/io.h:160:2: warning: 'px_cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn"%U0%X0 %1,%0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:6: note: 'px_cmd' was declared here u32 px_cmd, px_is, px_val; ^ WARNING: vmlinux.o(.text+0x3664): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x3944): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:early_setup() The function start_here_multiplatform() references the function __init early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of early_setup is wrong. WARNING: vmlinux.o(.text+0x3978): 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. WARNING: vmlinux.o(.text+0x35c80c): Section mismatch in reference from the function devm_memremap_pages() to the function .meminit.text:arch_add_memory() The function devm_memremap_pages() references the function __meminit arch_add_memory(). This is often because devm_memremap_pages lacks a __meminit annotation or the annotation of arch_add_memory is wrong. WARNING: vmlinux.o(.text+0x35d0e8): Section mismatch in reference from the function devm_memremap_pages_release() to the function .meminit.text:arch_remove_memory() The function devm_memremap_pages_release() references the function __meminit arch_remove_memory(). This is often because devm_memremap_pages_release lacks a __meminit annotation or the annotation of arch_remove_memory is wrong. WARNING: vmlinux.o(.text+0x499f9c): Section mismatch in reference from the function hmm_devmem_release() to the function .meminit.text:arch_remove_memory() The function hmm_devmem_release() references the function __meminit arch_remove_memory(). This is often because hmm_devmem_release lacks a __meminit annotation or the annotation of arch_remove_memory is wrong. WARNING: vmlinux.o(.text+0x49a310): Section mismatch in reference from the function hmm_devmem_pages_create() to the function .meminit.text:arch_add_memory() The function hmm_devmem_pages_create() references the function __meminit arch_add_memory(). This is often because hmm_devmem_pages_create lacks a __meminit annotation or the annotation of arch_add_memory is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_allmodconfig+ppc64le_ppc64le # Build took: 0:20:15.513401