# git rev-parse -q --verify ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25^{commit} ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25 already have revision, skipping fetch # git checkout -q -f -B kisskb ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25 # git clean -qxdf # < git log -1 # commit ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25 # Author: Hillf Danton # Date: Wed Apr 8 11:59:24 2020 -0400 # # mm/gup: Let __get_user_pages_locked() return -EINTR for fatal signal # # __get_user_pages_locked() will return 0 instead of -EINTR after commit # 4426e945df588 ("mm/gup: allow VM_FAULT_RETRY for multiple times") which # added extra code to allow gup detect fatal signal faster. # # Restore the original -EINTR behavior. # # Cc: Andrew Morton # Cc: Thomas Gleixner # Cc: Peter Zijlstra # Fixes: 4426e945df58 ("mm/gup: allow VM_FAULT_RETRY for multiple times") # Reported-by: syzbot+3be1a33f04dc782e9fd5@syzkaller.appspotmail.com # Signed-off-by: Hillf Danton # Acked-by: Michal Hocko # Signed-off-by: Peter Xu # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux-gcc --version # < /opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux-ld --version # < git log --format=%s --max-count=1 ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25 # < make -s -j 24 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- or1ksim_defconfig # < make -s -j 24 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- help # make -s -j 24 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- olddefconfig # make -s -j 24 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here int oldval, ret; ^ Completed OK # rm -rf /kisskb/build/linus_or1ksim_defconfig_or32 # Build took: 0:00:32.169796