diff options
author | 2020-04-15 10:42:29 +0200 | |
---|---|---|
committer | 2020-05-16 15:05:02 +0100 | |
commit | 48c963e31bc664afafd31058483ea8390da63980 (patch) | |
tree | ea1d9f3105a9cfd2892d11f04184ca6c5855e789 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: Sidestep stage2_unmap_vm() on vcpu reset when S2FWB is supported (diff) | |
download | wireguard-linux-48c963e31bc664afafd31058483ea8390da63980.tar.xz wireguard-linux-48c963e31bc664afafd31058483ea8390da63980.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions