[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6e45f8ca-59d3-354c-bddc-ad7ff449b58c@cornelisnetworks.com>
Date: Wed, 12 May 2021 00:08:59 -0400
From: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>
To: Leon Romanovsky <leon@...nel.org>,
"Marciniszyn, Mike" <mike.marciniszyn@...nelisnetworks.com>
Cc: Haakon Bugge <haakon.bugge@...cle.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...dia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
OFED mailing list <linux-rdma@...r.kernel.org>
Subject: Re: [PATCH rdma-next] RDMA/rdmavt: Decouple QP and SGE lists
allocations
On 5/11/21 3:27 PM, Leon Romanovsky wrote:
> 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?
>
So what's the motivation to change it from the way it was originally
designed? It seems to me if the original implementation went to the
trouble to allocate the memory on the local node, refactoring the code
should respect that.
-Denny
Powered by blists - more mailing lists