Message ID | 20240611220512.2426439-1-dmatlack@google.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: x86/mmu: Rework TDP MMU eager page splitting SP allocations | expand |
On Tue, 11 Jun 2024 15:05:08 -0700, David Matlack wrote: > Rework the TDP MMU eager page splitting code to always drop mmu_lock > when allocation shadow pages, to avoid causing lock contention with vCPU > threads during CLEAR_DIRTY_LOG (where mmu_lock is held for write). > > The first patch changes KVM to always drop mmu_lock lock and the > subsequent patches clean up and simplify the code now that conditional > locking is gone. > > [...] Applied to kvm-x86 mmu, thanks! [1/4] KVM: x86/mmu: Always drop mmu_lock to allocate TDP MMU SPs for eager splitting https://github.com/kvm-x86/linux/commit/cf3ff0ee24d6 [2/4] KVM: x86/mmu: Hard code GFP flags for TDP MMU eager split allocations https://github.com/kvm-x86/linux/commit/e1c04f7a9f42 [3/4] KVM: x86/mmu: Unnest TDP MMU helpers to allocate SPs for eager splitting https://github.com/kvm-x86/linux/commit/3d4a5a45ca26 [4/4] KVM: x86/mmu: Avoid reacquiring RCU if TDP MMU fails to allocate an SP https://github.com/kvm-x86/linux/commit/0089c055b560 -- https://github.com/kvm-x86/linux/tree/next