commit | d2dcb84a2928d777485428aedb830195bb5867a7 | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Thu May 14 19:31:04 2015 +0200 |
committer | Sasha Levin <sasha.levin@oracle.com> | Mon May 18 06:28:56 2015 -0400 |
tree | 48fb175652f2d78bd187f58fdda5102bd7a5c62f | |
parent | f1d639926227640f81de5464c4a9dc862b68916c [diff] |
userfaultfd: call handle_userfault() for userfaultfd_missing() faults 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. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>