[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 2 Feb 2024 14:14:35 -0500
From: Pasha Tatashin <pasha.tatashin@...een.com>
To: Robin Murphy <robin.murphy@....com>
Cc: joro@...tes.org, will@...nel.org, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, rientjes@...gle.com
Subject: Re: [PATCH] iommu/iova: use named kmem_cache for iova magazines
> 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
Powered by blists - more mailing lists