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

KVM: MMU: Optimize page unshadowing



Using kvm_mmu_lookup_page() will result in multiple scans of the hash chains;
use hlist_for_each_entry_safe() to achieve a single scan instead.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent c8a73f18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment