mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
c8a73f186b
commit
4677a3b693
1 changed files with 12 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue