diff options
| author | David Matlack <[email protected]> | 2023-10-16 22:12:28 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2023-10-17 20:54:52 +0000 |
| commit | 3d30bfcbdc268b41a7d9253a9cb3082281223b19 (patch) | |
| tree | 9c7ebba6e391b83505dacfbaf0036a6d1f4f9850 /scripts/gdb/vmlinux-gdb.py | |
| parent | KVM: x86: Use octal for file permission (diff) | |
| download | kernel-3d30bfcbdc268b41a7d9253a9cb3082281223b19.tar.gz kernel-3d30bfcbdc268b41a7d9253a9cb3082281223b19.zip | |
KVM: x86/mmu: Stop kicking vCPUs to sync the dirty log when PML is disabled
Stop kicking vCPUs in kvm_arch_sync_dirty_log() when PML is disabled.
Kicking vCPUs when PML is disabled serves no purpose and could
negatively impact guest performance.
This restores KVM's behavior to prior to 5.12 commit a018eba53870 ("KVM:
x86: Move MMU's PML logic to common code"), which replaced a
static_call_cond(kvm_x86_flush_log_dirty) with unconditional calls to
kvm_vcpu_kick().
Fixes: a018eba53870 ("KVM: x86: Move MMU's PML logic to common code")
Signed-off-by: David Matlack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
