# 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_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_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_mpc83xx_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_mpc83xx_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] INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x8147b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x824dc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3644058 Bytes = 3558.65 KiB = 3.48 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3673893 Bytes = 3587.79 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3673663 Bytes = 3587.56 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3674546 Bytes = 3588.42 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3673858 Bytes = 3587.75 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3674056 Bytes = 3587.95 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Image Name: Linux-5.13.0-g66d9282523b3 Created: Tue Jun 29 04:27:36 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3671241 Bytes = 3585.20 KiB = 3.50 MiB Load Address: 00900000 Entry Point: 00900294 Completed OK # rm -rf /kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 # Build took: 0:01:03.880590