# 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 24 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_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 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd485c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc424c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc424c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:12 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547612 Bytes = 5417.59 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:12 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5517103 Bytes = 5387.80 KiB = 5.26 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:12 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547993 Bytes = 5417.96 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547329 Bytes = 5417.31 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547531 Bytes = 5417.51 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547253 Bytes = 5417.24 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5547244 Bytes = 5417.23 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5548257 Bytes = 5418.22 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00894 Image Name: Linux-5.13.0+ Created: Tue Jun 29 05:09:13 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5548124 Bytes = 5418.09 KiB = 5.29 MiB Load Address: 00d00000 Entry Point: 00d00894 Completed OK # rm -rf /kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 # Build took: 0:04:24.707593