# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_powernv_defconfig+THIN_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_USE_THIN_ARCHIVES=y # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_powernv_defconfig+THIN_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_powernv_defconfig+THIN_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_powernv_defconfig+THIN_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus_powernv_defconfig+THIN_powerpc-gcc5 # Build took: 0:03:44.340431