diff options
author | Hillf Danton <[email protected]> | 2020-04-08 11:59:24 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-04-08 09:05:58 -0700 |
commit | ae46d2aa6a7fbe8ca0946f24b061b6ccdc6c3f25 (patch) | |
tree | 63df67653103289f0031d7956366af45ad01fe64 /scripts/bpf_helpers_doc.py | |
parent | f5e94d10e4c468357019e5c28d48499f677b284f (diff) |
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 <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: 4426e945df58 ("mm/gup: allow VM_FAULT_RETRY for multiple times")
Reported-by: [email protected]
Signed-off-by: Hillf Danton <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Peter Xu <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions