diff options
| author | Maciej S. Szmigiero <[email protected]> | 2021-12-06 20:54:23 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:24:28 -0500 |
| commit | e0c2b6338ac8ca30d438157dc45396c3c1148563 (patch) | |
| tree | ac3b17c46d9eb3d04723eddbe9ede38e443a0a71 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7cd08553ab103a7ebca79035eb35b73418b2f475 (diff) | |
KVM: x86: Don't call kvm_mmu_change_mmu_pages() if the count hasn't changed
There is no point in calling kvm_mmu_change_mmu_pages() for memslot
operations that don't change the total page count, so do it just for
KVM_MR_CREATE and KVM_MR_DELETE.
Signed-off-by: Maciej S. Szmigiero <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Message-Id: <9e56b7616a11f5654e4ab486b3237366b7ba9f2a.1638817640.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions