[PATCH v3 0/2] iommu/vt-d: boost the mapping process
From: Longpeng(Mike)
Date: Thu Oct 07 2021 - 20:04:47 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.
Changes v2 -> v3:
- make first_pte_in_page() neater [Baolu]
- remove meaningless BUG_ON() in __domain_mapping() [Baolu]
Changes v1 -> v2:
- Fix compile warning on i386 [Baolu]
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 | 11 ++++++-----
include/linux/intel-iommu.h | 10 ++++++++--
2 files changed, 14 insertions(+), 7 deletions(-)
--
1.8.3.1