Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753553AbaBCVG5 (ORCPT ); Mon, 3 Feb 2014 16:06:57 -0500 Received: from merlin.infradead.org ([205.233.59.134]:56474 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750836AbaBCVG4 (ORCPT ); Mon, 3 Feb 2014 16:06:56 -0500 Date: Mon, 3 Feb 2014 22:06:36 +0100 From: Peter Zijlstra To: Jason Low Cc: Ingo Molnar , Paul McKenney , Waiman Long , Linus Torvalds , Thomas Gleixner , Linux Kernel Mailing List , Rik van Riel , Andrew Morton , Davidlohr Bueso , "H. Peter Anvin" , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" , chegu_vinod@hp.com Subject: Re: [RFC][PATCH v2 5/5] mutex: Give spinners a chance to spin_on_owner if need_resched() triggered while queued Message-ID: <20140203210636.GY5002@laptop.programming.kicks-ass.net> References: <20140129115142.GE9636@twins.programming.kicks-ass.net> <1391138977.6284.82.camel@j-VirtualBox> <20140131140941.GF4941@twins.programming.kicks-ass.net> <20140131200825.GS5002@laptop.programming.kicks-ass.net> <1391374883.3164.8.camel@j-VirtualBox> <20140202211230.GX5002@laptop.programming.kicks-ass.net> <1391452760.7498.26.camel@j-VirtualBox> <20140203192525.GN8874@twins.programming.kicks-ass.net> <1391460934.7498.49.camel@j-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1391460934.7498.49.camel@j-VirtualBox> 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 Mon, Feb 03, 2014 at 12:55:34PM -0800, Jason Low wrote: > On Mon, 2014-02-03 at 20:25 +0100, Peter Zijlstra wrote: > > XXX: anybody got a better name than m_spinlock? > > So I was thinking something along the lines of > mcs_spin_lock_cancelable() as that's essentially what this function > does. sure, but what do we call the data structure that goes with it? Can't have two struct mcs_spinlock :/ -- 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/