diff options
author | 2024-06-11 15:05:11 -0700 | |
---|---|---|
committer | 2024-06-14 09:24:23 -0700 | |
commit | 3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5 (patch) | |
tree | a37bc31c782cd4863196d7c397870579825387b8 /scripts/generate_rust_analyzer.py | |
parent | KVM: x86/mmu: Hard code GFP flags for TDP MMU eager split allocations (diff) | |
download | linux-rng-3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5.tar.xz linux-rng-3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5.zip |
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