diff options
| author | Sean Christopherson <[email protected]> | 2021-12-15 01:15:55 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-10 13:47:07 -0500 |
| commit | 04dc4e6ce274fa729feda32aa957b27388a3870c (patch) | |
| tree | ac85c49bd29aea52b6e959a73a0b70c3d1cdf3a2 /tools/perf/scripts/python | |
| parent | 83b83a02073ec8d18c77a9bbe0881d710f7a9d32 (diff) | |
KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
Move the check for an invalid root out of kvm_tdp_mmu_get_root() and into
the one place it actually matters, tdp_mmu_next_root(), as the other user
already has an implicit validity check. A future bug fix will need to
get references to invalid roots to honor mmu_notifier requests; there's
no point in forcing what will be a common path to open code getting a
reference to a root.
No functional change intended.
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions