Re: [PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-28 Thread Wanpeng Li
On Sat, 28 Sep 2019 at 01:24, Marcelo Tosatti wrote: > > On Fri, Sep 27, 2019 at 04:27:02PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > > side polling is disabled. > > > > Cc: Marcelo Tosatti > > Signed-off-by: Wanpeng Li >

Re: [PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-28 Thread Wanpeng Li
On Fri, 27 Sep 2019 at 22:42, Sean Christopherson wrote: > > On Fri, Sep 27, 2019 at 04:27:02PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > > side polling is disabled. > > > > Cc: Marcelo Tosatti > > Signed-off-by: Wanpeng L

Re: [PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-27 Thread Marcelo Tosatti
On Fri, Sep 27, 2019 at 04:27:02PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > side polling is disabled. > > Cc: Marcelo Tosatti > Signed-off-by: Wanpeng Li > --- > virt/kvm/kvm_main.c | 28 +++- > 1 fi

Re: [PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-27 Thread Sean Christopherson
On Fri, Sep 27, 2019 at 04:27:02PM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > side polling is disabled. > > Cc: Marcelo Tosatti > Signed-off-by: Wanpeng Li > --- > virt/kvm/kvm_main.c | 28 +++- > 1 fi

[PATCH] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-09-27 Thread Wanpeng Li
From: Wanpeng Li Don't waste cycles to shrink/grow vCPU halt_poll_ns if host side polling is disabled. Cc: Marcelo Tosatti Signed-off-by: Wanpeng Li --- virt/kvm/kvm_main.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/virt/kvm/kvm_main.c