commit | 48c963e31bc664afafd31058483ea8390da63980 | [log] [tgz] |
---|---|---|
author | Jiang Yi <giangyi@amazon.com> | Wed Apr 15 10:42:29 2020 +0200 |
committer | Marc Zyngier <maz@kernel.org> | Sat May 16 15:05:02 2020 +0100 |
tree | ea1d9f3105a9cfd2892d11f04184ca6c5855e789 | |
parent | 892713e97ca146591515b3c115f99cdf632030fb [diff] |
KVM: arm/arm64: Release kvm->mmu_lock in loop to prevent starvation Do cond_resched_lock() in stage2_flush_memslot() like what is done in unmap_stage2_range() and other places holding mmu_lock while processing a possibly large range of memory. Signed-off-by: Jiang Yi <giangyi@amazon.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20200415084229.29992-1-giangyi@amazon.com