• Andrea Arcangeli's avatar
    userfaultfd: call handle_userfault() for userfaultfd_missing() faults · d574e5aa
    Andrea Arcangeli authored
    This is where the page faults must be modified to call
    handle_userfault() if userfaultfd_missing() is true (so if the
    vma->vm_flags had VM_UFFD_MISSING set).
    
    handle_userfault() then takes care of blocking the page fault and
    delivering it to userland.
    
    The fault flags must also be passed as parameter so the "read|write"
    kind of fault can be passed to userland.
    d574e5aa
huge_memory.c 79.6 KB