On Fri, 23 Aug 2024 16:56:42 -0700, David Matlack wrote: > Rework the TDP MMU disable-dirty-log path to batch TLB flushes and > recover huge page mappings, rather than zapping and flushing for every > potential huge page mapping. > > With this series, dirty_log_perf_test shows a decrease in the time it takes to > disable dirty logging, as well as a decrease in the number of vCPU faults: > > [...] Applied to kvm-x86 mmu, thanks! Note, these won't be contiguous due to the insertion of the other patches, but the hashes should be correct (knock wood). [1/6] KVM: x86/mmu: Drop @max_level from kvm_mmu_max_mapping_level() https://github.com/kvm-x86/linux/commit/8ccd51cb5911 [2/6] KVM: x86/mmu: Batch TLB flushes when zapping collapsible TDP MMU SPTEs https://github.com/kvm-x86/linux/commit/35ef80eb29ab [3/6] KVM: x86/mmu: Refactor TDP MMU iter need resched check https://github.com/kvm-x86/linux/commit/dd2e7dbc4ae2 [4/6] KVM: x86/mmu: Recover TDP MMU huge page mappings in-place instead of zapping https://github.com/kvm-x86/linux/commit/13e2e4f62a4b [5/6] KVM: x86/mmu: Rename make_huge_page_split_spte() to make_small_spte() https://github.com/kvm-x86/linux/commit/430e264b7653 [6/6] KVM: x86/mmu: WARN if huge page recovery triggered during dirty logging https://github.com/kvm-x86/linux/commit/06c4cd957b5c -- https://github.com/kvm-x86/linux/tree/next