Re: [PATCH v3] dma-buf: Split sgl by largest page-aligned chunk

From: David Hu

Date: Thu Jul 23 2026 - 12:16:27 EST


On Thu, Jul 23, 2026 at 5:46 AM Leon Romanovsky <leon@xxxxxxxxxx> wrote:
>
> On Wed, Jul 22, 2026 at 11:39:32PM +0000, dhu@xxxxxx wrote:
> > From: David Hu <xuehaohu@xxxxxxxxxx>
> >
> > Currently, `fill_sg_entry()` splits the scatterlist using `UINT_MAX`.
> > This creates a non-page-aligned DMA length (`0xFFFFFFFF`) for the
[ ... ]
> >
> > drivers/dma-buf/dma-buf-mapping.c | 19 +++++++++++--------
> > 1 file changed, 11 insertions(+), 8 deletions(-)
>
> Could you please avoid sending patches as replies? It severely disrupts
> the reading flow when using mutt's threaded view.
>
> Regarding the patch,
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>
>

Hi Leon,

Understood. In the future, I'll start a new thread for new patch revisions.

Thank you for your review.

Regards,
David