Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb787d10 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Move kvm_free_some_pages() into critical section



If some other cpu steals mmu pages between our check and an attempt to
allocate, we can run out of mmu pages.  Fix by moving the check into the
same critical section as the allocation.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent aaee2c94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment