Skip to content
Commit 7c554d8e authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86/mmu: only perform eager page splitting on valid roots



Eager page splitting is an optimization; it does not have to be performed on
invalid roots.  It is also the only case in which a reader might acquire
a reference to an invalid root, so after this change we know that readers
will skip both dying and invalid roots.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 226b8c8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment