[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46d7768f-033b-c61f-f2a8-c38239b9d547@nvidia.com>
Date: Thu, 8 Oct 2020 00:25:50 +0300
From: Yevgeny Kliteynik <kliteyn@...dia.com>
To: David Miller <davem@...emloft.net>
CC: <saeed@...nel.org>, <kuba@...nel.org>, <netdev@...r.kernel.org>,
<erezsh@...dia.com>, <mbloch@...dia.com>, <saeedm@...dia.com>
Subject: Re: [net-next 01/15] net/mlx5: DR, Add buddy allocator utilities
On 06-Oct-20 17:47, David Miller wrote:
> From: Yevgeny Kliteynik <kliteyn@...dia.com>
> Date: Tue, 6 Oct 2020 16:02:24 +0300
>
>> Buddy allocator allocates blocks of different sizes, so when it
>> scans the bits array, the allocator looks for free *area* of at
>> least the required size.
>> Can't store this info in a 'lowest set bit' counter.
>
> If you make it per-order, why not?
OK, I’ll send the V2 series with the standard allocator.
The optimization will be handled in a separate patch later on.
Thanks
Powered by blists - more mailing lists