Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754724Ab3GJPGJ (ORCPT ); Wed, 10 Jul 2013 11:06:09 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:46100 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754259Ab3GJPGH (ORCPT ); Wed, 10 Jul 2013 11:06:07 -0400 Date: Wed, 10 Jul 2013 11:03:15 -0400 From: Konrad Rzeszutek Wilk To: Gleb Natapov Cc: Peter Zijlstra , Raghavendra K T , Andrew Jones , mingo@redhat.com, ouyang@cs.pitt.edu, habanero@linux.vnet.ibm.com, jeremy@goop.org, x86@kernel.org, hpa@zytor.com, pbonzini@redhat.com, linux-doc@vger.kernel.org, xen-devel@lists.xensource.com, mtosatti@redhat.com, stefano.stabellini@eu.citrix.com, andi@firstfloor.org, attilio.rao@citrix.com, gregkh@suse.de, agraf@suse.de, chegu_vinod@hp.com, torvalds@linux-foundation.org, avi.kivity@gmail.com, tglx@linutronix.de, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, stephan.diestelhorst@amd.com, riel@redhat.com, virtualization@lists.linux-foundation.org, srivatsa.vaddagiri@gmail.com Subject: Re: [PATCH RFC V9 0/19] Paravirtualized ticket spinlocks Message-ID: <20130710150315.GE11007@phenom.dumpdata.com> References: <51CAAA26.4090204@linux.vnet.ibm.com> <20130626113744.GA6300@hawk.usersys.redhat.com> <20130626125240.GY18508@redhat.com> <51CAEF45.3010203@linux.vnet.ibm.com> <20130626161130.GB18152@redhat.com> <51CB2AD9.5060508@linux.vnet.ibm.com> <51DBD3C2.2040807@linux.vnet.ibm.com> <20130710103325.GP24941@redhat.com> <20130710104047.GP25631@dyad.programming.kicks-ass.net> <20130710104717.GR24941@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130710104717.GR24941@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2098 Lines: 48 On Wed, Jul 10, 2013 at 01:47:17PM +0300, Gleb Natapov wrote: > On Wed, Jul 10, 2013 at 12:40:47PM +0200, Peter Zijlstra wrote: > > On Wed, Jul 10, 2013 at 01:33:25PM +0300, Gleb Natapov wrote: > > > > Here's an idea, trim the damn email ;-) -- not only directed at gleb. > > > Good idea. > > > > > Ingo, Gleb, > > > > > > > > From the results perspective, Andrew Theurer, Vinod's test results are > > > > pro-pvspinlock. > > > > Could you please help me to know what will make it a mergeable > > > > candidate?. > > > > > > > I need to spend more time reviewing it :) The problem with PV interfaces > > > is that they are easy to add but hard to get rid of if better solution > > > (HW or otherwise) appears. > > > > How so? Just make sure the registration for the PV interface is optional; that > > is, allow it to fail. A guest that fails the PV setup will either have to try > > another PV interface or fall back to 'native'. > > > We have to carry PV around for live migration purposes. PV interface > cannot disappear under a running guest. Why can't it? This is the same as handling say XSAVE operations. Some hosts might have it - some might not. It is the job of the toolstack to make sure to not migrate to the hosts which don't have it. Or bound the guest to the lowest interface (so don't enable the PV interface if the other hosts in the cluster can't support this flag)? > > > > > I agree that Jiannan's Preemptable Lock idea is promising and we could > > > > evaluate that approach, and make the best one get into kernel and also > > > > will carry on discussion with Jiannan to improve that patch. > > > That would be great. The work is stalled from what I can tell. > > > > I absolutely hated that stuff because it wrecked the native code. > Yes, the idea was to hide it from native code behind PV hooks. > > -- > Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/