commit | 4677a3b693e035f186e2875259b9a0bb94c42fbe | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jan 06 13:00:27 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:03:02 2009 +0200 |
tree | bd5aec1050ee534ef9e9dc5c8628f81bf815a96c | |
parent | c8a73f186bf62235b6fb5dd52601d641917dd50b [diff] |
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>