diff options
author | David Matlack <dmatlack@google.com> | 2024-06-12 01:05:11 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-14 19:24:23 +0300 |
commit | 3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5 (patch) | |
tree | a37bc31c782cd4863196d7c397870579825387b8 /scripts/generate_rust_analyzer.py | |
parent | e1c04f7a9f4213c56af5021b40bc00f527bffbae (diff) | |
download | linux-3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5.tar.xz |
KVM: x86/mmu: Unnest TDP MMU helpers that allocate SPs for eager splitting
Move the implementation of tdp_mmu_alloc_sp_for_split() to its one and
only caller to reduce unnecessary nesting and make it more clear why the
eager split loop continues after allocating a new SP.
Opportunistically drop the double-underscores from
__tdp_mmu_alloc_sp_for_split() now that its parent is gone.
No functional change intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240611220512.2426439-4-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