aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/socfpga-a10.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2021-07-12 10:06:14 +0000
committerAndreas Gruenbacher <[email protected]>2021-10-24 13:26:06 +0000
commit3337ab08d08b1a375f88471d9c8b1cac968cb054 (patch)
treed59b8bcd05c76e7f7924a4d9eb587e3e2791b268 /drivers/fpga/socfpga-a10.c
parentgup: Introduce FOLL_NOFAULT flag to disable page faults (diff)
downloadkernel-3337ab08d08b1a375f88471d9c8b1cac968cb054.tar.gz
kernel-3337ab08d08b1a375f88471d9c8b1cac968cb054.zip
iov_iter: Introduce nofault flag to disable page faults
Introduce a new nofault flag to indicate to iov_iter_get_pages not to fault in user pages. This is implemented by passing the FOLL_NOFAULT flag to get_user_pages, which causes get_user_pages to fail when it would otherwise fault in a page. We'll use the ->nofault flag to prevent iomap_dio_rw from faulting in pages when page faults are not allowed. Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions