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

From: John Garry
Date: Tue Feb 06 2024 - 06:09:22 EST


On 05/02/2024 15:32, 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>
---
FWIW:
Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>