diff options
author | 2021-08-17 22:52:08 +0200 | |
---|---|---|
committer | 2021-10-24 15:26:05 +0200 | |
commit | 55b8fe703bc51200d4698596c90813453b35ae63 (patch) | |
tree | 9a7f9a0bcf98aea2fe8f3c7dcf483c75ffd6f6ea /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | iomap: Add done_before argument to iomap_dio_rw (diff) | |
download | wireguard-linux-55b8fe703bc51200d4698596c90813453b35ae63.tar.xz wireguard-linux-55b8fe703bc51200d4698596c90813453b35ae63.zip |
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: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions