From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [PATCH v3 2/2] qspinlock, x86: Enable x86-64 to use queue spinlock Date: Thu, 30 Jan 2014 12:45:14 -0500 Message-ID: <52EA8FAA.8080803@redhat.com> References: <1390933151-1797-1-git-send-email-Waiman.Long@hp.com> <1390933151-1797-3-git-send-email-Waiman.Long@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12612 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbaA3Rqk (ORCPT ); Thu, 30 Jan 2014 12:46:40 -0500 In-Reply-To: <1390933151-1797-3-git-send-email-Waiman.Long@hp.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Waiman Long , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Arnd Bergmann Cc: linux-arch@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Steven Rostedt , Andrew Morton , Michel Lespinasse , Andi Kleen , "Paul E. McKenney" , Linus Torvalds , Raghavendra K T , George Spelvin , Tim Chen , Daniel J Blueman , Alexander Fyodorov , Aswin Chandramouleeswaran , Scott J Norton , Thavatchai Makphaibulchoke On 01/28/2014 01:19 PM, Waiman Long wrote: > This patch makes the necessary changes at the x86 architecture > specific layer to enable the use of queue spinlock for x86-64. As > x86-32 machines are typically not multi-socket. The benefit of queue > spinlock may not be apparent. So queue spinlock is not enabled. > > Currently, there is some incompatibilities between the para-virtualized > spinlock code (which hard-codes the use of ticket spinlock) and the > queue spinlock. Therefore, the use of queue spinlock is disabled when > the para-virtualized spinlock is enabled. > > Signed-off-by: Waiman Long Acked-by: Rik van Riel