[PATCH v1 0/2] iommu/vt-d: boost the mapping process

From: Longpeng(Mike)
Date: Wed Sep 15 2021 - 11:21:38 EST


Hi guys,

We found that the __domain_mapping() would take too long when
the memory region is too large, we try to make it faster in this
patchset. The performance number can be found in PATCH 2, please
review when you free, thanks.

Longpeng(Mike) (2):
iommu/vt-d: convert the return type of first_pte_in_page to bool
iommu/vt-d: avoid duplicated removing in __domain_mapping

drivers/iommu/intel/iommu.c | 12 +++++++-----
include/linux/intel-iommu.h | 8 +++++++-
2 files changed, 14 insertions(+), 6 deletions(-)

--
1.8.3.1