diff options
| author | Logan Odell <loganodell@google.com> | 2026-07-27 08:57:20 -0700 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-07-30 14:55:23 +0200 |
| commit | f5cd9718bd0be08a4ac3b5773740e7d3e0d3929a (patch) | |
| tree | ae706d41c7f1a12b39a5ff7520fe86231fedbea6 /tools/perf/scripts/python | |
| parent | e02e968159851cbb4deb2a0555ebaa3a6e7ced3b (diff) | |
iommu/iova: Move CPU magazine init to first insert
A large amount of memory may be allocated for these magazines on
machines with a lot of IOMMU groups and CPU cores. Not all may be used
as some devices may be unused or be bound to drivers that do not use the
DMA-API. Furthermore, some drivers may not use all levels or CPUs.
Move the initialization of the loaded and prev magazines for each CPU on
the first attempt to try to insert a freed IOVA to them.
Signed-off-by: Logan Odell <loganodell@google.com>
Signed-off-by: Michal Clapinski <mclapinski@google.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
