# 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 120 ARCH=powerpc O=/kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet32_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xe6a73c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.10.0-g3644e2d2dda7 Created: Sat Dec 19 10:54:00 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6793797 Bytes = 6634.57 KiB = 6.48 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.9 # Build took: 0:01:20.460077