From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock Date: Thu, 20 Jan 2011 09:49:35 -0800 Message-ID: <4D3875AF.1000208@goop.org> References: <20110119164432.GA30669@linux.vnet.ibm.com> <20110119171239.GB726@linux.vnet.ibm.com> <1295457672.28776.144.camel@laptop> <4D373340.60608@goop.org> <20110120114246.GA11177@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Xen-devel , Mathieu Desnoyers , Nick Piggin , kvm@vger.kernel.org, Peter Zijlstra , Linux Kernel Mailing List , Jan Beulich , Eric Dumazet , Jeremy Fitzhardinge , suzuki@in.ibm.com, Avi Kivity , "H. Peter Anvin" , =?ISO-8859-1?Q?Am=E9rico_Wang?= , Linux Virtualization To: vatsa@linux.vnet.ibm.com Return-path: In-Reply-To: <20110120114246.GA11177@linux.vnet.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com List-Id: kvm.vger.kernel.org On 01/20/2011 03:42 AM, Srivatsa Vaddagiri wrote: > On Wed, Jan 19, 2011 at 10:53:52AM -0800, Jeremy Fitzhardinge wrote: >>> The reason for wanting this should be clear I guess, it allows PI. >> Well, if we can expand the spinlock to include an owner, then all this >> becomes moot... > How so? Having an owner will not eliminate the need for pv-ticketlocks > afaict. We still need a mechanism to reduce latency in scheduling the next > thread-in-waiting, which is achieved by your patches. No, sorry, I should have been clearer. I meant that going to the effort of not increasing the lock size to record "in slowpath" state. J