Skip to content
Commit 01032156 authored by Keqian Zhu's avatar Keqian Zhu Committed by Alex Williamson
Browse files

vfio/iommu_type1: Mantain a counter for non_pinned_groups



With this counter, we never need to traverse all groups to update
pinned_scope of vfio_iommu.

Suggested-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 4a19f37a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment