diff options
author | James Houghton <jthoughton@google.com> | 2025-02-04 03:40:33 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-14 18:17:23 +0300 |
commit | e25c2332346fbd4814d5c9d3d25ba3d0f9646e06 (patch) | |
tree | 9324ece676aac7710a14ec6904ed58619290cdb0 /scripts/generate_rust_analyzer.py | |
parent | b146a9b34aed3cfa6edc058830c906a2b718fba5 (diff) | |
download | linux-e25c2332346fbd4814d5c9d3d25ba3d0f9646e06.tar.xz |
KVM: x86/mmu: Skip shadow MMU test_young if TDP MMU reports page as young
Reorder the processing of the TDP MMU versus the shadow MMU when aging
SPTEs, and skip the shadow MMU entirely in the test-only case if the TDP
MMU reports that the page is young, i.e. completely avoid taking mmu_lock
if the TDP MMU SPTE is young. Swap the order for the test-and-age helper
as well for consistency.
Signed-off-by: James Houghton <jthoughton@google.com>
Acked-by: Yu Zhao <yuzhao@google.com>
Link: https://lore.kernel.org/r/20250204004038.1680123-7-jthoughton@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions