Re: [RFC 04/11] powerpc: kvm: introduce a kthread on primary thread to anti tickless

2014-11-17 Thread Liu ping fan
On Mon, Oct 27, 2014 at 12:45 PM, Preeti U Murthy wrote: > On 10/17/2014 12:59 AM, kernelf...@gmail.com wrote: >> (This patch is a place holder.) >> >> If there is only one vcpu thread is ready(the other vcpu thread can >> wait for it to execute), the primary thread can enter tickless mode, > > We

Re: [RFC 04/11] powerpc: kvm: introduce a kthread on primary thread to anti tickless

2014-10-26 Thread Preeti U Murthy
On 10/17/2014 12:59 AM, kernelf...@gmail.com wrote: > (This patch is a place holder.) > > If there is only one vcpu thread is ready(the other vcpu thread can > wait for it to execute), the primary thread can enter tickless mode, We do not configure NOHZ_FULL to y by default. Hence no thread would

[RFC 04/11] powerpc: kvm: introduce a kthread on primary thread to anti tickless

2014-10-16 Thread kernelfans
(This patch is a place holder.) If there is only one vcpu thread is ready(the other vcpu thread can wait for it to execute), the primary thread can enter tickless mode, which causes the primary keeps running, so the secondary has no opportunity to exit to host, even they have other tsk on them. I