diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 19:10:46 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-10-30 15:23:30 -0700 |
commit | 51192ebdd145f4808f440de5cbc6426afcaa0564 (patch) | |
tree | 14a163d5dc58944ceb0d770a3a78be8b9f6e108c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 526e609f05676c21aeed6c04115ae777c40081ec (diff) |
KVM: x86/mmu: Stop processing TDP MMU roots for test_age if young SPTE found
Return immediately if a young SPTE is found when testing, but not updating,
SPTEs. The return value is a boolean, i.e. whether there is one young SPTE
or fifty is irrelevant (ignoring the fact that it's impossible for there to
be fifty SPTEs, as KVM has a hard limit on the number of valid TDP MMU
roots).
Link: https://lore.kernel.org/r/20241011021051.1557902-15-seanjc@google.com
[sean: use guard(rcu)(), as suggested by Paolo]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions