diff options
| author | Sean Christopherson <[email protected]> | 2020-06-23 12:40:26 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-07-08 16:21:50 -0400 |
| commit | ac101b7cb17d4a5df1ab735420d0ee3593465dcf (patch) | |
| tree | a287c1524836837042d547b6377e29feafa641cc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4cb5b77eecb0ccb2fa66f33ac6936680bbc41552 (diff) | |
KVM: x86/mmu: Avoid multiple hash lookups in kvm_get_mmu_page()
Refactor for_each_valid_sp() to take the list of shadow pages instead of
retrieving it from a gfn to avoid doing the gfn->list hash and lookup
multiple times during kvm_get_mmu_page().
Cc: Peter Feiner <[email protected]>
Cc: Jon Cargille <[email protected]>
Cc: Jim Mattson <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-By: Jon Cargille <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions