From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: [PATCH RFC] KVM: busy-spin detector Date: Sat, 12 Jun 2010 00:48:11 +0530 Message-ID: <20100611191811.GK5191@balbir.in.ibm.com> References: <20100611022551.GA16223@amt.cnet> <20100611140634.GI5191@balbir.in.ibm.com> <20100611174627.GF6913@amt.cnet> Reply-To: balbir@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: kvm To: Marcelo Tosatti Return-path: Received: from e1.ny.us.ibm.com ([32.97.182.141]:59548 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760235Ab0FKTSQ (ORCPT ); Fri, 11 Jun 2010 15:18:16 -0400 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e1.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o5BJCGWQ002449 for ; Fri, 11 Jun 2010 15:12:16 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5BJIFs7116276 for ; Fri, 11 Jun 2010 15:18:15 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o5BJIEk6005123 for ; Fri, 11 Jun 2010 16:18:14 -0300 Content-Disposition: inline In-Reply-To: <20100611174627.GF6913@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: * Marcelo Tosatti [2010-06-11 14:46:27]: > > Interesting approach, is there a reason to tie it in with pause loop > > exits? > > Hum, i don't see any. PLE exits provide the same detection, but more > accurately. > > > Can't we do something more generic or even para-virtish. > > This is pretty generic already? Or what do you mean? > > The advantage is it does not require paravirt modifications in the > guest (at the expense of guessing what the guest is doing). > Agreed, but one needs to depend on newer hardware to get this feature to work. -- Three Cheers, Balbir