diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2022-10-21 11:41:10 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-09 11:29:20 -0700 |
commit | d82076403cef7fcd1e7617c9db48bf21ebdc1f9c (patch) | |
tree | e008e755a4b7db705d6b6c28d15d8be5bba65f4c /kernel/dma/remap.c | |
parent | 4003f107fa2eabb0aab90e37a1ed7b74c6f0d132 (diff) |
iov_iter: introduce iov_iter_get_pages_[alloc_]flags()
Add iov_iter_get_pages_flags() and iov_iter_get_pages_alloc_flags()
which take a flags argument that is passed to get_user_pages_fast().
This is so that FOLL_PCI_P2PDMA can be passed when appropriate.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221021174116.7200-4-logang@deltatee.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/dma/remap.c')
0 files changed, 0 insertions, 0 deletions