From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755301AbaEHTFE (ORCPT ); Thu, 8 May 2014 15:05:04 -0400 Received: from casper.infradead.org ([85.118.1.10]:45411 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856AbaEHTFC (ORCPT ); Thu, 8 May 2014 15:05:02 -0400 Date: Thu, 8 May 2014 21:04:59 +0200 From: Peter Zijlstra To: Waiman Long Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-arch@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, Paolo Bonzini , Konrad Rzeszutek Wilk , Boris Ostrovsky , "Paul E. McKenney" , Rik van Riel , Linus Torvalds , Raghavendra K T , David Vrabel , Oleg Nesterov , Gleb Natapov , Scott J Norton , Chegu Vinod Subject: Re: [PATCH v10 08/19] qspinlock: Make a new qnode structure to support virtualization Message-ID: <20140508190459.GQ2844@laptop.programming.kicks-ass.net> References: <1399474907-22206-1-git-send-email-Waiman.Long@hp.com> <1399474907-22206-9-git-send-email-Waiman.Long@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1399474907-22206-9-git-send-email-Waiman.Long@hp.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 07, 2014 at 11:01:36AM -0400, Waiman Long wrote: > /* > + * To have additional features for better virtualization support, it is > + * necessary to store additional data in the queue node structure. So > + * a new queue node structure will have to be defined and used here. > + */ > +struct qnode { > + struct mcs_spinlock mcs; > +}; You can ditch this entire patch; its pointless, just add a new DEFINE_PER_CPU for the para-virt muck.