Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4631864imm; Tue, 9 Oct 2018 02:45:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV62hqj6J+A07W6tDXH65x1OjxnPE5xuj78fwZm9YmhWwb4Um9xEJ/H5aNbFYefvLlR88g1UT X-Received: by 2002:a17:902:b611:: with SMTP id b17-v6mr27822616pls.217.1539078336149; Tue, 09 Oct 2018 02:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539078336; cv=none; d=google.com; s=arc-20160816; b=S0MHyuXEhaQYMfVOQz5V+TSLQJjTfUW7IHfpgAAGSxN1maCjLtTayw7aeFXG1/fXeu D2mICWghMWRMbRY3NWkHjGI8VLBpM3zZNXAybg1//llLEE9J2FvQam0uaamroS/NtksI /LEpNOCeI5gNZZKXw47akPmdGo/brW+qJDfAFnINiD2CMZ8L5n/F1EOcBHNmGvy1hk3j CGKsTEDi4tsFsqMYxIaMDkazBYTv5QdfxnPLo4uD67c5OUoEpTVmZvN4M85n1eOY79Tb rMniPm7GjPZca5VGnhoi9zsSuqquD+M8u/Dcu0v8Z7f7lTNDHBY+5Yt88/2XEDNwQopM /ikA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ULsf3qLVKhw0XY+gqJq+0f4hV7OmFUu9a7ZaHIAD8aw=; b=M/U4OajHuBZFS98M8sIIC3tUbAyI1s6x2QpKaAeTNpiBvzxe/5P8As0ExVlgSb9kiO ElTa36qoMMIDLntnZzEDNyRm6ZLR9iTUbosQT8fpgaV5tLgZ9725xXxABGfzLEqb/vgx e2FKFS8yeKVBFDpLTrUrCKt3xotIEaJI4WJafXhFYIIWveGP3Rcy16z1mWcyaDhGfXXx 2EyBEbHD8K+Bf9/MAM7tfFnZzylXi/8YEVIe34+jRV64MWqfC2MKuAb73uNlEVzupqOw A7BDKG6aDC3AJe+KGw1sF5ExXUYtxB9enxqHJSAczILxYb6hbDfXK0eSm4E+DWv2qk1n yluA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fTtEGEBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9-v6si19614720pgh.325.2018.10.09.02.45.19; Tue, 09 Oct 2018 02:45:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fTtEGEBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726418AbeJIRBA (ORCPT + 99 others); Tue, 9 Oct 2018 13:01:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37424 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbeJIRA7 (ORCPT ); Tue, 9 Oct 2018 13:00:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ULsf3qLVKhw0XY+gqJq+0f4hV7OmFUu9a7ZaHIAD8aw=; b=fTtEGEBSgkPPJyjhx3kkikslE WC6quQyhJ4pt4jBqN5s2RuLmpLvX/ynKkLttYmtvxbqXo8yHU6Y/ZBloz6xh558Fdb/Reptj4NKd5 FfWWUtN/vxhwXErn6Rfqh7nETdeRsbHwb5TMh/zUNuIjx6NK5GYQHHspY+DTj8/UKv5an2Dv4AY0I LCijSHraTf+/7+llWkLiVvX21v4jPU6EIysoiac6O02waVJcZm/HVjCvjvGBycjWdsixmp5ptOqxq RRhx/M/CkhDsoGNwkkNkK0aGcA5OueeQwZwNFNxBGVRTIuOQv+IhqPsdZlIUn4+8cH1eKaHxCYjHx UC3JTXGQg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9oZJ-00036C-6v; Tue, 09 Oct 2018 09:44:45 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 441FF20281DC1; Tue, 9 Oct 2018 11:44:41 +0200 (CEST) Date: Tue, 9 Oct 2018 11:44:41 +0200 From: Peter Zijlstra To: Juri Lelli Cc: mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it, claudio@evidence.eu.com, tommaso.cucinotta@santannapisa.it, alessio.balsini@gmail.com, bristot@redhat.com, will.deacon@arm.com, andrea.parri@amarulasolutions.com, dietmar.eggemann@arm.com, patrick.bellasi@arm.com, henrik@austad.us, linux-rt-users@vger.kernel.org Subject: Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution Message-ID: <20181009094441.GI5663@hirez.programming.kicks-ass.net> References: <20181009092434.26221-1-juri.lelli@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181009092434.26221-1-juri.lelli@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 09, 2018 at 11:24:26AM +0200, Juri Lelli wrote: > The main concerns I have with the current approach is that, being based > on mutex.c, it's both > > - not linked with futexes > - not involving "legacy" priority inheritance (rt_mutex.c) > > I believe one of the main reasons Peter started this on mutexes is to > have better coverage of potential problems (which I can assure everybody > it had). I'm not yet sure what should we do moving forward, and this is > exactly what I'd be pleased to hear your opinions on. Well that, and mutex was 'simple', I didn't have to go rip out all the legacy PI crud. If this all ends up working well, the solution is 'simple' and we can simply copy mutex to rt_mutex or something along those lines if we want to keep the distinction between them. Alternatively we simply delete rt_mutex. Thanks for reviving this.. it's been an 'interesting' year and a half since I wrote all this and I've really not had time to work on it.