# git rev-parse -q --verify d78d5dace5398b542fd5a21b50db6e88ce7d392e^{commit} d78d5dace5398b542fd5a21b50db6e88ce7d392e already have revision, skipping fetch # git checkout -q -f -B kisskb d78d5dace5398b542fd5a21b50db6e88ce7d392e # git clean -qxdf # < git log -1 # commit d78d5dace5398b542fd5a21b50db6e88ce7d392e # Author: Aneesh Kumar K.V # Date: Thu Oct 24 15:05:42 2019 +0530 # # powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full # # With bolted hash page table entry, kernel currently only use primary hash group # when inserting the hash page table entry. In the rare case where kernel find all the # 8 primary hash slot occupied by bolted entries, this can result in hash page # table insert failure for bolted entries. Avoid this by using the secondary hash # group. # # This is different from what kernel does for the non-bolted mapping. With # non-bolted entries kernel will try secondary before removing an existing entry # from hash page table group. With bolted prefer primary hash group and hence # try to insert the page table entry by removing a slot from primary before trying # the secondary hash group. # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191024093542.29777-3-aneesh.kumar@linux.ibm.com # < /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 d78d5dace5398b542fd5a21b50db6e88ce7d392e # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_HUGETLBFS=n # yes \n | make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_HUGETLB_powerpc-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 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_HUGETLB_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/send.c:7: /kisskb/src/fs/btrfs/send.c: In function 'process_extent': /kisskb/src/include/linux/kernel.h:37:33: warning: 'clone_src_i_size' may be used uninitialized in this function [-Wmaybe-uninitialized] #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) ^ /kisskb/src/fs/btrfs/send.c:5088:6: note: 'clone_src_i_size' was declared here u64 clone_src_i_size; ^ Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_defconfig+NO_HUGETLB_powerpc-gcc5 # Build took: 0:03:40.615080