# git rev-parse -q --verify 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3^{commit} 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3 already have revision, skipping fetch # git checkout -q -f -B kisskb 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3 # git clean -qxdf # < git log -1 # commit 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3 # Author: Kent Overstreet # Date: Fri Dec 18 04:07:11 2020 -0500 # # mm/filemap: fix infinite loop in generic_file_buffered_read() # # If iter->count is 0 and iocb->ki_pos is page aligned, this causes # nr_pages to be 0. # # Then in generic_file_buffered_read_get_pages() find_get_pages_contig() # returns 0 - because we asked for 0 pages, so we call # generic_file_buffered_read_no_cached_page() which attempts to add a page # to the page cache, which fails with -EEXIST, and then we loop. Oops... # # Signed-off-by: Kent Overstreet # Reported-by: Jens Axboe # Reviewed-by: Jens Axboe # 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 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_ppc40x_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_ppc40x_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_ppc40x_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:1515:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /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 0x5e4698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5e4698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.10.0-g3644e2d2dda7 Created: Sat Dec 19 10:44:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3015608 Bytes = 2944.93 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 00601750 Image Name: Linux-5.10.0-g3644e2d2dda7 Created: Sat Dec 19 10:44:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3016204 Bytes = 2945.51 KiB = 2.88 MiB Load Address: 00600000 Entry Point: 0060198c Completed OK # rm -rf /kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.9 # Build took: 0:01:05.382613