Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbbDPPy3 (ORCPT ); Thu, 16 Apr 2015 11:54:29 -0400 Received: from casper.infradead.org ([85.118.1.10]:43779 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbbDPPyW (ORCPT ); Thu, 16 Apr 2015 11:54:22 -0400 Date: Thu, 16 Apr 2015 17:54:08 +0200 From: Peter Zijlstra To: Davidlohr Bueso Cc: Thomas Gleixner , Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, Ingo Molnar , Darren Hart , Steven Rostedt , fredrik.markstrom@windriver.com, Manfred Spraul , Arnaldo Carvalho de Melo Subject: Re: [PATCH 2/3 v2] futex: avoid double wake up in futex_wake() on -RT Message-ID: <20150416155408.GU27490@worktop.programming.kicks-ass.net> References: <1428419030-20030-1-git-send-email-bigeasy@linutronix.de> <1428419030-20030-3-git-send-email-bigeasy@linutronix.de> <20150410161135.GF3057@linutronix.de> <1428894155.16668.6.camel@stgolabs.net> <1429160982.6795.35.camel@stgolabs.net> <20150416101637.GC5029@twins.programming.kicks-ass.net> <1429195375.6795.46.camel@stgolabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429195375.6795.46.camel@stgolabs.net> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 20 On Thu, Apr 16, 2015 at 07:42:55AM -0700, Davidlohr Bueso wrote: > On Thu, 2015-04-16 at 12:16 +0200, Peter Zijlstra wrote: > > But if we decide we want to go do this, I'd propose we reintroduce this > > delayed wake list thing again. > > Given that futexes aren't the only potential users, I definitely agree. > Lemme cleanup the patches and I'll resend. Now, one thing I wonder about > is if we should bother making it a delayed list a plist instead -- as > not all users would consider rt-tasks like futexes do. plist don't work and should not be used for tasks anymore. I suppose I should go rip them out of futexes too. If you want to make the thing priority aware we should probably abstract the rb-tree from rtmutex.c -- 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/