Re: [PATCH v3 2/3] iommu/iova: Reorganise some code

From: David Rientjes
Date: Mon Feb 05 2024 - 13:17:36 EST


On Mon, 5 Feb 2024, Robin Murphy wrote:

> The iova_cache_{get,put}() calls really represent top-level lifecycle
> management for the whole IOVA library, so it's long been rather
> confusing to have them buried right in the middle of the allocator
> implementation details. Move them to a more expected position at the end
> of the file, where it will then also be easier to expand them. With
> this, we can also move the rcache hotplug handler (plus another stray
> function) into the rcache portion of the file.
>
> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>