From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: Re: [PATCH RFC V4 2/3] kvm: Note down when cpu relax intercepted or pause loop exited Date: Tue, 17 Jul 2012 14:01:48 +0530 Message-ID: <500522F4.7090601@linux.vnet.ibm.com> References: <20120716082445.23477.15128.sendpatchset@codeblue.in.ibm.com> <20120716082514.23477.23849.sendpatchset@codeblue.in.ibm.com> <5003E682.20909@redhat.com> <50044E58.60905@linux.vnet.ibm.com> <500520A8.50106@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <500520A8.50106@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Avi Kivity Cc: "H. Peter Anvin" , Thomas Gleixner , Marcelo Tosatti , Ingo Molnar , Rik van Riel , Srikar , S390 , Carsten Otte , Christian Borntraeger , KVM , chegu vinod , "Andrew M. Theurer" , LKML , X86 , Gleb Natapov , linux390@de.ibm.com, Srivatsa Vaddagiri , Joerg Roedel List-ID: On 07/17/2012 01:52 PM, Avi Kivity wrote: > On 07/16/2012 08:24 PM, Raghavendra K T wrote: >> So are you saying allow vcpu to spin in non over-commit scenarios? So >> that we avoid all yield_to etc... >> >> ( Or even in some other place where it is useful). > > When is yielding useful, if you're not overcommitted? > Right. There is no need to do yield_to when run queue has only one task.