diff options
author | John Garry <[email protected]> | 2022-02-03 17:59:20 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-02-14 15:43:15 +0100 |
commit | 32e92d9f6f876721cc4f565f8369d542b6266380 (patch) | |
tree | 5bff28207f3a1b6108f3791914d8f2212d37f017 /scripts/gdb/linux/utils.py | |
parent | 114a6f5015df8eda0cf37302914cb15a3da3f086 (diff) |
iommu/iova: Separate out rcache init
Currently the rcache structures are allocated for all IOVA domains, even if
they do not use "fast" alloc+free interface. This is wasteful of memory.
In addition, fails in init_iova_rcaches() are not handled safely, which is
less than ideal.
Make "fast" users call a separate rcache init explicitly, which includes
error checking.
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions