Re: [PATCH 20/22] kvm: mmu: NX largepage recovery for TDP MMU
From: Paolo Bonzini
Date: Fri Sep 25 2020 - 21:15:03 EST
On 25/09/20 23:23, Ben Gardon wrote:
> +
> + if (!kvm->arch.tdp_mmu_enabled)
> + return err;
> +
> + err = kvm_vm_create_worker_thread(kvm, kvm_nx_lpage_recovery_worker, 1,
> + "kvm-nx-lpage-tdp-mmu-recovery",
> + &kvm->arch.nx_lpage_tdp_mmu_recovery_thread);
Any reason to have two threads?
Paolo