[PATCH v7 07/24] IB/umem: use get_user_pages_fast() to pin DMA pages

Christoph Hellwig hch at infradead.org
Thu Nov 21 19:07:46 AEDT 2019


On Wed, Nov 20, 2019 at 11:13:37PM -0800, John Hubbard wrote:
> And get rid of the mmap_sem calls, as part of that. Note
> that get_user_pages_fast() will, if necessary, fall back to
> __gup_longterm_unlocked(), which takes the mmap_sem as needed.
> 
> Reviewed-by: Jan Kara <jack at suse.cz>
> Reviewed-by: Jason Gunthorpe <jgg at mellanox.com>
> Reviewed-by: Ira Weiny <ira.weiny at intel.com>
> Signed-off-by: John Hubbard <jhubbard at nvidia.com>

Looks fine,

Reviewed-by: Christoph Hellwig <hch at lst.de>

Jason, can you queue this up for 5.5 to reduce this patch stack a bit?


More information about the Linuxppc-dev mailing list