[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260129132058.GC2307128@ziepe.ca>
Date: Thu, 29 Jan 2026 09:20:58 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: "D. Wythe" <alibuda@...ux.alibaba.com>
Cc: Leon Romanovsky <leon@...nel.org>, Uladzislau Rezki <urezki@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Dust Li <dust.li@...ux.alibaba.com>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Sidraya Jayagond <sidraya@...ux.ibm.com>,
Wenjia Zhang <wenjia@...ux.ibm.com>,
Mahanta Jambigi <mjambigi@...ux.ibm.com>,
Simon Horman <horms@...nel.org>, Tony Lu <tonylu@...ux.alibaba.com>,
Wen Gu <guwen@...ux.alibaba.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-rdma@...r.kernel.org,
linux-s390@...r.kernel.org, netdev@...r.kernel.org,
oliver.yang@...ux.alibaba.com
Subject: Re: [PATCH net-next 2/3] mm: vmalloc: export find_vm_area()
On Thu, Jan 29, 2026 at 07:36:09PM +0800, D. Wythe wrote:
> > 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
Powered by blists - more mailing lists