Re: [PATCH 1/4] NTB: ntb_transport: Handle remapped contiguous region in vmalloc space
From: Koichiro Den
Date: Wed Oct 29 2025 - 03:14:06 EST
On Tue, Oct 28, 2025 at 09:45:30AM -0600, Logan Gunthorpe wrote:
>
>
> On 2025-10-27 19:14, Koichiro Den wrote:
> >
> > I agree there's room for improvement around this "double" mapping.
> > I'll think about a follow-up patch to clean this up.
> >
> >>
> >> At the very least, I think these issues need to be mentioned in the
> >> commit message.
> >
> > As for the commit message, I think adding one more line like:
> > "See relevant commit 061a785a114f ("ntb: Force physically contiguous allocation of rx ring buffers")"
> > should be sufficient. What do you think?
>
> Ah, I see why that is now. Thanks for the explanation.
>
> Adding the link helps, but I still think the commit message needs to
> mention why the memory is guaranteed to be physically contiguous.
That makes sense, I'll do so. Thanks for the review!
-Koichiro
>
> Thanks,
>
> Logan