Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp785981imm; Wed, 10 Oct 2018 04:24:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV60CZ/xlGwTedb1LMYAm5r1kLAcyyf4Gj6+lPdzLmZxF9dbpFRkph3qQurHrsA38rBwg1ytm X-Received: by 2002:a62:9951:: with SMTP id d78-v6mr33947120pfe.239.1539170659393; Wed, 10 Oct 2018 04:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539170659; cv=none; d=google.com; s=arc-20160816; b=eScGG91X3kiSrV29R8J1C8vNaVxD8qPkNGfE6MtU5K+EvquUTq1aJ6+oUvTZzXICh0 c3731jdEhavVp98UCgiPCahAaUq14mhtHZyktMYmzqPuTfyQkle/kn08wY23RGCBoGRS fs5amKrfidg9hxpq06q58a6xUJM9+hU5JDiBSqKHlCPAzu4YmXfDeUIPEPUFUITnLqyh lZYuCZR74IfTgHNd4Bxxh6Qg+t8OMA3skOzh1ZGHLdwGPPfVgAgq5f7nbC8fo73EtjTr Lv4E9hfpgepGBJKt/qRMa+kM65c2iufvGgdlxezommiFntDQ8uSdxERBjOc6WwGy5BZI UIcg== 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=8VP2OhUAIfWoaz7iej4cE+Z1YVIvqGEQQNjTdH96U64=; b=ZRN5lWMDwhyuPYljSWnjcnAZjSzRcV4fjwaJ/JFEH5j0xc6X3/PxfFs8aCxddswyHf GmtstTEXxp6RpzF/ebNFblGNMzkwHVUDQg5xXb3kInPoPWhnE4FOtZpJ3L/uCUgTC+vP XgCAo4vD1odDs6k1iMvxZa8uk6Zg5ca3JmArfeG4q5kwZ29SHDGd4/Jmh8vVZAGSVJFv YOhBRLkNFvHYx6cJB+DiGNXvhOHgfC7sBcj5gSuebKPpHp5mzNdMWfhdXjUF7HQ1DnxN l2ewKX64T9V/VYoazBH+6kyvekzK4aQ1U2sC3DalIQd8Sza7meOaSdV2V1SpSze5PlmB WxAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ceitY1ni; 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 31-v6si26385924plj.160.2018.10.10.04.24.03; Wed, 10 Oct 2018 04:24:19 -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=ceitY1ni; 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 S1726910AbeJJSov (ORCPT + 99 others); Wed, 10 Oct 2018 14:44:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36058 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbeJJSov (ORCPT ); Wed, 10 Oct 2018 14:44:51 -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=8VP2OhUAIfWoaz7iej4cE+Z1YVIvqGEQQNjTdH96U64=; b=ceitY1niyTtuxoVE7X5TJEfeN SGNx1xQkTTvGpX1U8zAEYU/u5RDV/DMHbTNphsLUiArCFGMIAj/EMImIWSU28uqJJ1nYyWCGp6tzk 0kMpwyZhknNJDr1Spj6+ob6XUVQ91WGBra1e9xs/3wZkkszMWKcbD3v/o8FWy4C2cdWzXVUdG4jRS 2UUSC8WFl5yud/cDnD5x7D2ZWPlqwNxp68SOEs+8f79zGToL1JRVT+4MuGhnov0ViehRWphiiUm/D srXtdsUOm86E/L/5x9eJq5bTy9/M1uhkSWIg1p306GJN7OjAKGKgvLH0cYRnOJoAZv6LNe6oYtTnf jlKoK8Gfw==; 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 1gACZy-0004eJ-TI; Wed, 10 Oct 2018 11:23:03 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CA7D2202A40A9; Wed, 10 Oct 2018 13:23:00 +0200 (CEST) Date: Wed, 10 Oct 2018 13:23:00 +0200 From: Peter Zijlstra To: luca abeni Cc: Juri Lelli , mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, 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: <20181010112300.GQ5728@hirez.programming.kicks-ass.net> References: <20181009092434.26221-1-juri.lelli@redhat.com> <20181010123417.26c682ef@luca64> <20181010105710.GP5728@hirez.programming.kicks-ass.net> <20181010131629.6623ddb4@luca64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181010131629.6623ddb4@luca64> 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 Wed, Oct 10, 2018 at 01:16:29PM +0200, luca abeni wrote: > On Wed, 10 Oct 2018 12:57:10 +0200 > Peter Zijlstra wrote: > > > On Wed, Oct 10, 2018 at 12:34:17PM +0200, luca abeni wrote: > > > So, I would propose to make the proxy() function of patch more > > > generic, and not strictly bound to mutexes. Maybe a task structure > > > can contain a list of tasks for which the task can act as a proxy, > > > and we can have a function like "I want to act as a proxy for task > > > T" to be invoked when a task blocks? > > > > Certainly possible, but that's something I'd prefer to look at after > > it all 'works'. > > Of course :) > I was mentioning this idea because maybe it can have some impact on the > design. > > BTW, here is another "interesting" issue I had in the past with changes > like this one: how do we check if the patchset works as expected? > > "No crashes" is surely a requirement, but I think we also need some > kind of testcase that fails if the inheritance mechanism is not working > properly, and is successful if the inheritance works. > > Maybe we can develop some testcase based on rt-app (if noone has such a > testcase already) Indeed; IIRC there is a test suite that mostly covers the FIFO-PI stuff, that should obviously still pass. Steve, do you know where that lives? For the extended DL stuff, we'd need new tests.