RE: [PATCH rdma-next] RDMA/rdmavt: Decouple QP and SGE lists allocations
From: Marciniszyn, Mike
Date: Tue May 11 2021 - 15:40:01 EST
>
> On Tue, May 11, 2021 at 07:15:09PM +0000, Marciniszyn, Mike wrote:
> > > >
> > > > Why not kzalloc_node() here?
> >
> > I agree here.
> >
> > Other allocations that have been promoted to the core have lost the node
> attribute in the allocation.
>
> Did you notice any performance degradation?
>
For the QP, we most certainly will.
In any case, the promotion should address not losing the node.
The allocation gets the ib_device, and it would seem to hard to add method of determining the node.
Mike