# git rev-parse -q --verify 66d9282523b3228183b14d9f812872dd2620704d^{commit} 66d9282523b3228183b14d9f812872dd2620704d already have revision, skipping fetch # git checkout -q -f -B kisskb 66d9282523b3228183b14d9f812872dd2620704d # git clean -qxdf # < git log -1 # commit 66d9282523b3228183b14d9f812872dd2620704d # Author: Mel Gorman # Date: Mon Jun 28 16:02:19 2021 +0100 # # mm/page_alloc: Correct return value of populated elements if bulk array is populated # # Dave Jones reported the following # # This made it into 5.13 final, and completely breaks NFSD for me # (Serving tcp v3 mounts). Existing mounts on clients hang, as do # new mounts from new clients. Rebooting the server back to rc7 # everything recovers. # # The commit b3b64ebd3822 ("mm/page_alloc: do bulk array bounds check after # checking populated elements") returns the wrong value if the array is # already populated which is interpreted as an allocation failure. Dave # reported this fixes his problem and it also passed a test running dbench # over NFS. # # Fixes: b3b64ebd3822 ("mm/page_alloc: do bulk array bounds check after checking populated elements") # Reported-and-tested-by: Dave Jones # Signed-off-by: Mel Gorman # Cc: [5.13+] # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 66d9282523b3228183b14d9f812872dd2620704d # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1227:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61dd94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140815 Bytes = 3067.20 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701498 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140704 Bytes = 3067.09 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140994 Bytes = 3067.38 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140761 Bytes = 3067.15 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007001b8 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140987 Bytes = 3067.37 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007014a0 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140852 Bytes = 3067.24 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007014b8 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140873 Bytes = 3067.26 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3140908 Bytes = 3067.29 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007000c4 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:32:58 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3141021 Bytes = 3067.40 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701488 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 # Build took: 0:01:07.465659