ANDROID: KVM: arm64: iommu: Do not remap on iommu_atomic_pool reclaim
The atomic_pool can only allocate cacheable memory. There's no need to waste time doing a remap on the reclaim path. Bug: 357781595 Bug: 384432312 Change-Id: Ifa10eec52c2029af9330e6b1a04b8a0ae80a6c28 Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
This commit is contained in:
@@ -178,7 +178,7 @@ void *kvm_iommu_donate_pages_atomic(u8 order)
|
||||
|
||||
void kvm_iommu_reclaim_pages_atomic(void *p, u8 order)
|
||||
{
|
||||
__kvm_iommu_reclaim_pages(&iommu_atomic_pool, p, order);
|
||||
hyp_put_page(&iommu_atomic_pool, p);
|
||||
}
|
||||
|
||||
static struct kvm_hyp_iommu_domain *
|
||||
|
||||
Reference in New Issue
Block a user