Thread (30 messages) 30 messages, 6 authors, 2026-02-03

Re: [PATCH net-next 2/3] mm: vmalloc: export find_vm_area()

From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2026-01-29 13:21:00
Also in: linux-mm, linux-rdma, linux-s390, lkml

On Thu, Jan 29, 2026 at 07:36:09PM +0800, D. Wythe wrote:
quoted
From there you can check the resulting scatterlist and compute the
page_size to pass to ib_map_mr_sg().
I should clarify this is done after DMA mapping the scatterlist. dma
mapping can improve the page size.

And maybe the core code should be helping compute the MR's target page
size for a scatterlist.. We already have code to do this in umem, and
it is a pretty bit tricky considering the IOVA related rules.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help