Commit 0d4cc1da authored by Mostafa Saleh's avatar Mostafa Saleh
Browse files

ANDROID: KVM: arm64: Don't update IOMMU under memory pressure



host_stage2_unmap_unmoveable_regs() is called when the hypervisor pool
is under pressure to map stage-2 enteries, so it unmap all enteries that
can't be donated and owned by the host so it can be lazily faulted
later.
But that doesn't change any ownership of pages, so they are still owned
by the host and must remain mapped in the IOMMU.

Bug: 428939924
Change-Id: Id91183619a316a67bda48d8e9adf9b6ef49c104f
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
parent 672185e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment