Skip to content
Commit 55b8fe70 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gup: Introduce FOLL_NOFAULT flag to disable page faults



Introduce a new FOLL_NOFAULT flag that causes get_user_pages to return
-EFAULT when it would otherwise trigger a page fault.  This is roughly
similar to FOLL_FAST_ONLY but available on all architectures, and less
fragile.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 4fdccaa0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment