Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932538AbbFIMyH (ORCPT ); Tue, 9 Jun 2015 08:54:07 -0400 Received: from www.linutronix.de ([62.245.132.108]:46339 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbbFIMxu (ORCPT ); Tue, 9 Jun 2015 08:53:50 -0400 Date: Tue, 9 Jun 2015 14:53:36 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: Davidlohr Bueso , Ingo Molnar , Steven Rostedt , Mike Galbraith , "Paul E. McKenney" , Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Subject: Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq) In-Reply-To: <20150609112142.GU3644@twins.programming.kicks-ass.net> Message-ID: References: <1432056298-18738-1-git-send-email-dave@stgolabs.net> <1432056298-18738-5-git-send-email-dave@stgolabs.net> <1433824902.3165.61.camel@stgolabs.net> <20150609112142.GU3644@twins.programming.kicks-ass.net> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 26 On Tue, 9 Jun 2015, Peter Zijlstra wrote: > On Tue, Jun 09, 2015 at 11:29:59AM +0200, Thomas Gleixner wrote: > > > > If you look at the RT code, then you'll notice that in the slow lock > > path we queue the incoming waiter (including the PI dance) and then > > spin only if the waiter is the top waiter on the lock. > > On a related note; does the RT code still add lock stealing to rtmutex? No. > We allow higher prio lock stealing, but I seem to remember a longish > debate if we should allow equal prio lock stealing. Right. We never finished that one:) Thanks, tglx -- 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/