diff options
author | 2024-06-11 15:05:12 -0700 | |
---|---|---|
committer | 2024-06-14 09:25:03 -0700 | |
commit | 0089c055b56024edf90e85dc852440b713ce8cb5 (patch) | |
tree | 66d5727ce88f449453f308f7db58d3ab5f4ce9e1 /scripts/generate_rust_analyzer.py | |
parent | KVM: x86/mmu: Unnest TDP MMU helpers that allocate SPs for eager splitting (diff) | |
download | linux-rng-0089c055b56024edf90e85dc852440b713ce8cb5.tar.xz linux-rng-0089c055b56024edf90e85dc852440b713ce8cb5.zip |
KVM: x86/mmu: Avoid reacquiring RCU if TDP MMU fails to allocate an SP
Avoid needlessly reacquiring the RCU read lock if the TDP MMU fails to
allocate a shadow page during eager page splitting. Opportunistically
drop the local variable ret as well now that it's no longer necessary.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240611220512.2426439-5-dmatlack@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