Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp945588imm; Wed, 10 Oct 2018 06:51:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV61wW8qJ6S4WrujYJ5nWK7exgEiPO6F286Ga4yEOA8y5FV/rjFkjZB0X5/+sfvQm81abLb+v X-Received: by 2002:a62:6143:: with SMTP id v64-v6mr29032368pfb.125.1539179469574; Wed, 10 Oct 2018 06:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539179469; cv=none; d=google.com; s=arc-20160816; b=QSGkXjrrhLxCAzT4s36KuVh1UPptiGskBUvxOqXdqKJeH07mPJJAxn/Tufriv/jEx4 K9eDs5f5EzplSt0YPfvwk/qB4V3iqBecVtrlk9xzTfPPeY7qkg42/LafLu+vaBdknSO7 i26/OwqyQrFqRu9UmxDHB/khR+giUupbYbesHWoEBiUAmZbXkl5zaT2Efn83Fv+Wzozg U5XxIgITM6X7fVk7Q7Bw68nxl/vEvV61gsKFVBMggCkSnnEaaW7eHMT/6NEpha2A9VRF O/Vnl9MO4XOC2CWwDq8RxuHxF2KYXTpOOSDKDJ7ihFdZsf6SNnyfLCbkgJQupamu40o6 7K7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jVHdKFTtIEarHLc52YMft/fzjVHCM93gBc4VfVFwGIQ=; b=D08yNliG8H/upKtTag8g4aY+eA32ej79Iqc8Xh3s18eU8hYABeNYTztG9sdPdTWt55 YiFETIP3+wxlrXxfzU3qScmDus3ppN4wUC19v0V6NN/BbmuQS3Ti6CuMk6pfRdEPzRwX WsPch8AelxrMMD7uz8/HNWdQu0i7ldFIYirVKKn/dwyd9UBp0yQ0TUAWFFrwljfyOqLs onFM7gbiP6HnYLRpUs9LYYY7dk5071CTX6hzWgPKzEGVz0QmkU5iHbbW3HTy780tdlrm crxSO54cqbW9jtCdZ/ebgx3bSOxHM/LZoCgVNCzVjPtfOe8UkzCOXwr8iMAq9ek/hBu5 OpGQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s63-v6si15922818pfb.217.2018.10.10.06.50.53; Wed, 10 Oct 2018 06:51:09 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726827AbeJJVLP (ORCPT + 99 others); Wed, 10 Oct 2018 17:11:15 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:52150 "EHLO mail-wm1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726649AbeJJVLP (ORCPT ); Wed, 10 Oct 2018 17:11:15 -0400 Received: by mail-wm1-f52.google.com with SMTP id 143-v6so5535068wmf.1 for ; Wed, 10 Oct 2018 06:48:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jVHdKFTtIEarHLc52YMft/fzjVHCM93gBc4VfVFwGIQ=; b=rMGu/XVlovq0dwsyOZdbxBcOzIGQrHzpNLkEdlcrT4N7d//Oixk9yCBD8vu+Z78hOt 8z057oqrozipm1txVdH6apzliyqYLXBdzkCiquNQs0/14IEu8npwQlMZg7DMZAisYKxX oQW307YIhzuJ/7pAt6hIqUU67bURCXWiOa/Ws4sp/sypYzI7bynk+APmrmhzLNh05VHN KWibUCPu/pYSvAfS9tCmrHupswK9iIs85k/pYuD/DzRSbhvYrSjd0g2GpV1UjQ0JQhSI zaa9ICgfLNVAXEW0tBLqHZTH60KChy1UR/JlwN4xwu4xnoOYphfExHYtHh4fQdOLG51P 5Fwg== X-Gm-Message-State: ABuFfoh8F/i0VQbQdxRn6s37EpvBgBV6rgmHKa7mhVT0ARNJNt7YWrpZ jaETEHfH2CQOmhqWD7/U8oVa5A== X-Received: by 2002:a1c:4385:: with SMTP id q127-v6mr966571wma.111.1539179338119; Wed, 10 Oct 2018 06:48:58 -0700 (PDT) Received: from t460s.bristot.redhat.com (nat-cataldo.sssup.it. [193.205.81.5]) by smtp.gmail.com with ESMTPSA id 126-v6sm19437345wme.48.2018.10.10.06.48.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 06:48:57 -0700 (PDT) Subject: Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution To: Peter Zijlstra , Henrik Austad Cc: Juri Lelli , 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, will.deacon@arm.com, andrea.parri@amarulasolutions.com, dietmar.eggemann@arm.com, patrick.bellasi@arm.com, linux-rt-users@vger.kernel.org References: <20181009092434.26221-1-juri.lelli@redhat.com> <20181010115639.GA25534@sisyphus.home.austad.us> <20181010122454.GR5663@hirez.programming.kicks-ass.net> From: Daniel Bristot de Oliveira Message-ID: Date: Wed, 10 Oct 2018 15:48:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181010122454.GR5663@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/18 2:24 PM, Peter Zijlstra wrote: >> I believe there were some papers circulated last year that looked at >> something similar to this when you had overlapping or completely disjoint >> CPUsets I think it would be nice to drag into the discussion. Has this been >> considered? (if so, sorry for adding line-noise!) > Hurm, was that one of Bjorn's papers? Didn't that deal with AC of > disjoint/overlapping sets? > This paper: https://people.mpi-sws.org/~bbb/papers/pdf/rtsj14.pdf But, unless I am wrong, there were findings after this paper that shows some imprecision on it. Anyway, it does not analyse the locking properties, only scheduler of independent tasks - it is a start, but far from what we do here. (btw this paper is really complex...) The locking problem for such case: APA with the nesting of different locks in the locking implementation (we use raw spin lock on this, and this method could also be used in the rw lock/sem in the future, nesting rw_lock(mutex_proxy(raw_spinlock())) is an open problem from the academic point of view. I explained these things (nested lock and the need of APA for locking) as "Open Problems" at the RTSOPs (part of the ECRTS) earlier this year: http://rtsops2018.loria.fr/wp-content/uploads/2018/07/RTSOPS18_proceedings_final.pdf Bjorn were there, but not only him... Baruah, Davis, Alan Burns were there. There are some works being done for more complex locking in academy, like: https://www.cs.unc.edu/~jarretc/papers/ecrts18b_long.pdf But still, the task model used on these implementations are not the Linux one. -- Daniel