Message ID | CA+jPhpcA8Xy2RmbX2p9sY9qn++5cnpsX5hQHWUJb7Q-xvtEyMA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | Fixes for LP1800849 | expand |
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index e074480..4cc3f06 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c @@ -502,6 +502,8 @@ static inline int do_exception(struct pt_regs *regs, int access) /* No reason to continue if interrupted by SIGKILL. */ if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) { fault = VM_FAULT_SIGNAL; + if (flags & FAULT_FLAG_RETRY_NOWAIT) + goto out_up; goto out; }