[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa7752b0-d2d2-f387-602f-fbf3f0edf450@redhat.com>
Date: Sat, 26 Sep 2020 03:14:54 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Ben Gardon <bgardon@...gle.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Cc: Cannon Matthews <cannonmatthews@...gle.com>,
Peter Xu <peterx@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Peter Shier <pshier@...gle.com>,
Peter Feiner <pfeiner@...gle.com>,
Junaid Shahid <junaids@...gle.com>,
Jim Mattson <jmattson@...gle.com>,
Yulei Zhang <yulei.kernel@...il.com>,
Wanpeng Li <kernellwp@...il.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Xiao Guangrong <xiaoguangrong.eric@...il.com>
Subject: Re: [PATCH 20/22] kvm: mmu: NX largepage recovery for TDP MMU
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
Powered by blists - more mailing lists