Commit 78adeb53 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Treehugger Robot
Browse files

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: default avatarVincent Donnefort <vdonnefort@google.com>
parent a0ffabb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment