Re: [PATCH] iommu/iova: use named kmem_cache for iova magazines

From: Pasha Tatashin
Date: Fri Feb 02 2024 - 14:17:10 EST


> Yikes, so it really does just have that many IOMMU groups? OK, fair
> enough, call me convinced :)
>
> On balance though, I think I'd prefer to just stick the lifecycle
> management into iova_cache_{get,put} for simplicity - spending ~256
> bytes on another kmem_cache we might not use can hardly be significantly
> more than the extra code and static data necessary to track its usage
> separately anyway.

Sure, I will send a v2 soon.

Pasha