ANDROID: KVM: arm64: Fix account_locked_mm() call in non-preemptible section
account_locked_vm() may sleep and, in pkvm_unmap_guest(), was called under the mmu_lock, which is a section where preemption is disabled. Bug: 227300338 Bug: 278749606 Bug: 336166299 Fixes: b66e27a6 ("ANDROID: KVM: arm64: Unshare pages from __unmap_stage2_range()") Change-Id: I4aaff2bfb89726de505183a4f8af7d09abae3ce7 Signed-off-by:Vincent Donnefort <vdonnefort@google.com>
Loading
Please sign in to comment