# git rev-parse -q --verify 559089e0a93d44280ec3ab478830af319c56dbe3^{commit} 559089e0a93d44280ec3ab478830af319c56dbe3 already have revision, skipping fetch # git checkout -q -f -B kisskb 559089e0a93d44280ec3ab478830af319c56dbe3 # git clean -qxdf # < git log -1 # commit 559089e0a93d44280ec3ab478830af319c56dbe3 # Author: Song Liu # Date: Fri Apr 15 09:44:10 2022 -0700 # # vmalloc: replace VM_NO_HUGE_VMAP with VM_ALLOW_HUGE_VMAP # # Huge page backed vmalloc memory could benefit performance in many cases. # However, some users of vmalloc may not be ready to handle huge pages for # various reasons: hardware constraints, potential pages split, etc. # VM_NO_HUGE_VMAP was introduced to allow vmalloc users to opt-out huge # pages. However, it is not easy to track down all the users that require # the opt-out, as the allocation are passed different stacks and may cause # issues in different layers. # # To address this issue, replace VM_NO_HUGE_VMAP with an opt-in flag, # VM_ALLOW_HUGE_VMAP, so that users that benefit from huge pages could ask # specificially. # # Also, remove vmalloc_no_huge() and add opt-in helper vmalloc_huge(). # # Fixes: fac54e2bfb5b ("x86/Kconfig: Select HAVE_ARCH_HUGE_VMALLOC with HAVE_ARCH_HUGE_VMAP") # Link: https://lore.kernel.org/netdev/14444103-d51b-0fb3-ee63-c3f182f0b546@molgen.mpg.de/" # Reviewed-by: Christoph Hellwig # Signed-off-by: Song Liu # Reviewed-by: Rik van Riel # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux-ld --version # < git log --format=%s --max-count=1 559089e0a93d44280ec3ab478830af319c56dbe3 # < make -s -j 120 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux- or1ksim_defconfig # < make -s -j 120 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux- help # make -s -j 120 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux- olddefconfig # make -s -j 120 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.3.0-nolibc/or1k-linux/bin/or1k-linux- Completed OK # rm -rf /kisskb/build/linus_or1ksim_defconfig_or32 # Build took: 0:00:16.942050