File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -524,30 +524,6 @@ vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason)
524524
525525 __set_current_state (TASK_RUNNING );
526526
527- if (return_to_userland ) {
528- if (signal_pending (current ) &&
529- !fatal_signal_pending (current )) {
530- /*
531- * If we got a SIGSTOP or SIGCONT and this is
532- * a normal userland page fault, just let
533- * userland return so the signal will be
534- * handled and gdb debugging works. The page
535- * fault code immediately after we return from
536- * this function is going to release the
537- * mmap_sem and it's not depending on it
538- * (unlike gup would if we were not to return
539- * VM_FAULT_RETRY).
540- *
541- * If a fatal signal is pending we still take
542- * the streamlined VM_FAULT_RETRY failure path
543- * and there's no need to retake the mmap_sem
544- * in such case.
545- */
546- down_read (& mm -> mmap_sem );
547- ret = VM_FAULT_NOPAGE ;
548- }
549- }
550-
551527 /*
552528 * Here we race with the list_del; list_add in
553529 * userfaultfd_ctx_read(), however because we don't ever run
You can’t perform that action at this time.
0 commit comments