From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waiman Long Subject: Re: [PATCH v5 0/8] qspinlock: a 4-byte queue spinlock with PV support Date: Fri, 28 Feb 2014 11:56:14 -0500 Message-ID: <5310BFAE.1080003@hp.com> References: <1393427668-60228-1-git-send-email-Waiman.Long@hp.com> <20140226170041.GA20775@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140226170041.GA20775@phenom.dumpdata.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , Raghavendra K T , Peter Zijlstra , virtualization@lists.linux-foundation.org, Marcos Matsunaga , Andi Kleen , "H. Peter Anvin" , Michel Lespinasse , Alok Kataria , linux-arch@vger.kernel.org, x86@kernel.org, Ingo Molnar , Scott J Norton , xen-devel@lists.xenproject.org, "Paul E. McKenney" , Alexander Fyodorov , Rik van Riel , Arnd Bergmann , Daniel J Blueman , Oleg Nesterov , Steven Rostedt , Chris Wright , George Spelvin , Thomas Gleixner List-Id: linux-arch.vger.kernel.org On 02/26/2014 12:00 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Feb 26, 2014 at 10:14:20AM -0500, Waiman Long wrote: > It should be fairly easy. You just need to implement the kick right? > An IPI should be all that is needed - look in xen_unlock_kick. The > rest of the spinlock code is all generic that is shared between > KVM, Xen and baremetal. > > You should be able to run all of this under an HVM guests as well - as > in you don't need a pure PV guest to use the PV ticketlocks. > > An easy way to install/run this is to install your latest distro, > do 'yum install xen' or 'apt-get install xen'. Reboot and you > are under Xen. Launch guests, etc with your favorite virtualization > toolstack. Thank for the tip. I will try that out. -Longman