Searched hist:"3337 ab08" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | uio.h | 3337ab08 Mon Jul 12 05:06:14 CDT 2021 Andreas Gruenbacher <agruenba@redhat.com> 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 <agruenba@redhat.com>
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 3337ab08 Mon Jul 12 05:06:14 CDT 2021 Andreas Gruenbacher <agruenba@redhat.com> 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 <agruenba@redhat.com>
|