From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754812Ab2GQIe0 (ORCPT ); Tue, 17 Jul 2012 04:34:26 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:39888 "EHLO e23smtp07.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032Ab2GQIeC (ORCPT ); Tue, 17 Jul 2012 04:34:02 -0400 Message-ID: <500522F4.7090601@linux.vnet.ibm.com> Date: Tue, 17 Jul 2012 14:01:48 +0530 From: Raghavendra K T Organization: IBM User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 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 Subject: Re: [PATCH RFC V4 2/3] kvm: Note down when cpu relax intercepted or pause loop exited 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> In-Reply-To: <500520A8.50106@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-cbid: 12071622-0260-0000-0000-000001853092 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.