summaryrefslogtreecommitdiff
path: root/drivers/iommu/sun50i-iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2023-09-12 19:28:06 +0300
committerJoerg Roedel <jroedel@suse.de>2023-09-25 13:07:44 +0300
commit233045378dbbc0a7346127d19a54d4f91e0bd855 (patch)
treec2ede5179403669d7a6876185615d11625efafb2 /drivers/iommu/sun50i-iommu.c
parent911aa1245da83ff5e76d33bb612d8b5a3f2ec4a5 (diff)
downloadlinux-233045378dbbc0a7346127d19a54d4f91e0bd855.tar.xz
iommu/iova: Manage the depot list size
Automatically scaling the depot up to suit the peak capacity of a workload is all well and good, but it would be nice to have a way to scale it back down again if the workload changes. To that end, add backround reclaim that will gradually free surplus magazines if the depot size remains above a reasonable threshold for long enough. Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/03170665c56d89c6ce6081246b47f68d4e483308.1694535580.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/sun50i-iommu.c')
0 files changed, 0 insertions, 0 deletions