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

From: Pasha Tatashin
Date: Mon Feb 05 2024 - 13:52:54 EST


On Mon, Feb 5, 2024 at 10:32 AM Robin Murphy <robin.murphy@xxxxxxx> 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>

Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>