Commit 86039bd3 authored by Andrea Arcangeli's avatar Andrea Arcangeli Committed by Linus Torvalds

userfaultfd: add new syscall to provide memory externalization

Once an userfaultfd has been created and certain region of the process
virtual address space have been registered into it, the thread responsible
for doing the memory externalization can manage the page faults in
userland by talking to the kernel using the userfaultfd protocol.

poll() can be used to know when there are new pending userfaults to be
read (POLLIN).
Signed-off-by: default avatarAndrea Arcangeli <>
Acked-by: default avatarPavel Emelyanov <>
Cc: Sanidhya Kashyap <>
Cc: "Kirill A. Shutemov" <>
Cc: Andres Lagar-Cavilla <>
Cc: Dave Hansen <>
Cc: Paolo Bonzini <>
Cc: Rik van Riel <>
Cc: Mel Gorman <>
Cc: Andy Lutomirski <>
Cc: Hugh Dickins <>
Cc: Peter Feiner <>
Cc: "Dr. David Alan Gilbert" <>
Cc: Johannes Weiner <>
Cc: "Huangpeng (Peter)" <>
Cc: Dan Carpenter <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c1294d05
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment