Re: [PATCH] RDMA/srpt: Make slab cache names unique

Jens Axboe
2024-10-07T17:25:03Z

On 10/7/24 11:22 AM, Jason Gunthorpe wrote:
> On Mon, Oct 07, 2024 at 11:20:56AM -0600, Jens Axboe wrote:
>
>> stand by my comment that using ida for this is overengineering. And that
>> yes there are 3 slab caches, but having 3 per whatever instance is silly
>> and you should share those 3 across instances.
>
> Store the slab cache in an xarray indexed by the variable size and
> name them according to their size?

That's a way better idea.

--
Jens Axboe