Re: [PATCH 1/5] RDMA/umem: ib_umem_get(): use kmalloc() to allocate page array

From: Jason Gunthorpe

Date: Fri Jul 10 2026 - 13:11:15 EST


On Thu, Jul 02, 2026 at 10:36:29PM +0300, Mike Rapoport wrote:
> On Thu, Jul 02, 2026 at 09:55:16AM -0300, Jason Gunthorpe wrote:
> > On Thu, Jul 02, 2026 at 02:46:46PM +0200, Vlastimil Babka (SUSE) wrote:
> > > I think this should be discussed more broadly and not block this
> > > change.
> >
> > Currently all of these get_free_pages ones in this series are this
> > special need, so I'd like to not loose that marking somehow. Maybe a
> > comment or maybe a inline wrapper function.
>
> Comment is easy :)
>
> As for an inline wrapper, is there an appropriate rdma header to put it?
> I don't think it belongs to slab.h.

Well, lets go with a comment

Jason