Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2309651pxa; Fri, 7 Aug 2020 08:10:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPEgQpRtjClV3M1TBFi233x/TayDSz94KiR3k/c+qs6H2e/iu506nohm2WZn0zP4lv7Nvh X-Received: by 2002:a17:906:990c:: with SMTP id zl12mr9458266ejb.488.1596813045182; Fri, 07 Aug 2020 08:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596813045; cv=none; d=google.com; s=arc-20160816; b=hU8GeWOuRLF2p7OrJVIHptp3aHLIav8HI7whan0LrBtTl3vVrFBxqCSXJ5EnVcyobO VxmVszDT2V1DYHYP5dsXhIxG4Q3b8SLtyY/XMQzQf+JkBKsRIXtHqkzA6w53NRNLgegU sPTt/71aqYakI9gW1LOBp9zpQSzh8PZU0NzjvgBz86N68RRXFyNTVqj+Jk3z1y8YQA5g DBfqjyEEZgBBwwh7iLIYQR1iOhY7ySG/78AtHkJi3owM2sSkw2tFKluKKf9G/s14TEVT rWyxlQZZ1tXhZOoglmFu4qI3NNUyfNwrT8L1y09O3nS0LakRL8Of9rXwO0MJM35amYe4 XIgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JhwrzTXfET2LA1451/hxvE9hVV0gEaq7zNxUuYFQSI8=; b=yQP+N7xHJq+U4EIwu+NvgnIul5ELaE2+erl9Cwn70a7WqrGikwLwPVGw/QBsVTR/CU O3qTkWU1ndNxtL089/UBe3MwXEM6ipJOqjF1HNNuZ71votHCnZnj7H1ollS3e0wLmHzw 7UzBwyeixNVNlG3+NwSafjGY0WJxgqbnqWW6zyFNiTUmUDbnuGU6+NA48rMTk5bayM0T KbvM4+yYmoU7gkJ614Ohl59CCE1YKzLzaqN3qhyfeWh5hlM91tiUDGRYux/dl9u+G89/ uQKC8EEV94aOIg5o/J3m/jyypjAbqlbHOwQ2qZds2dTq/u9FeR4bBi8y3gP0s6ErRlwl sYQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g5IlGoKE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r28si4942203edc.150.2020.08.07.08.10.20; Fri, 07 Aug 2020 08:10:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g5IlGoKE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726346AbgHGPGp (ORCPT + 99 others); Fri, 7 Aug 2020 11:06:45 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:47195 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726644AbgHGPGo (ORCPT ); Fri, 7 Aug 2020 11:06:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596812803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JhwrzTXfET2LA1451/hxvE9hVV0gEaq7zNxUuYFQSI8=; b=g5IlGoKExUtQVeyoHGEn5nSGIW/q/0bAdRAUU2MdcozPRC4Vff/E6LUyiQu6C8RKS1V3we DBWFp9s66WfJpx6QaM3v+Pc7hSRIvtyXWU24PhDpak+TvVIS63MydpAXQwjypn86sdqo/Q BqwzZCzjTpEdBIulKFCvUcp4720Dk0Y= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-214-3SRreF7pNmajAVbbhYJYHw-1; Fri, 07 Aug 2020 11:06:39 -0400 X-MC-Unique: 3SRreF7pNmajAVbbhYJYHw-1 Received: by mail-wm1-f71.google.com with SMTP id q15so898856wmj.6 for ; Fri, 07 Aug 2020 08:06:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=JhwrzTXfET2LA1451/hxvE9hVV0gEaq7zNxUuYFQSI8=; b=iHtRY6FgBvq/FXYCF2E3DYnfKWgoQ4yBa52Il3ASk5ln7YJsqM2w1HCVP0Ct63QYlP iex9ORIUgbqaLM1pL8cvUmdSLqecEx+nsnUW/DKJ96/FiRlwrs+T2RiJ8Zy0sQBMG10w GGb95sFgPx+TT4+n32Iw8sDUGlAi3unOygiHVgGS8zNAda111VEy67HBsEKA9rZcdVoa xGXpWUUPmZiKI1c7FTbwPXY9W+/kyFhSB9nPEjvL6zkJr9+oUhAUFgnsD57W420uZ5bj jlz6sPa0Xkt5ugfy6JM3e2eiTRagDRlSoqHwShDf+wWgkMTIknmlVL9htEYDr5yqVw+d YDyg== X-Gm-Message-State: AOAM531gGdrHTNmvrz3g3xTin4gG6iDg0utGLKI3XpHCToXUTB88hP/s DH0LakCTFr5zCppzzVQFxt98q+0GA2ngaeW9tt2YMVhHULNgMKifJREZa5ckU6s6ISS6P5MxPtZ idIQ1P2QIvqmYLBgJxtuD44CY X-Received: by 2002:a1c:4944:: with SMTP id w65mr12628671wma.169.1596812798543; Fri, 07 Aug 2020 08:06:38 -0700 (PDT) X-Received: by 2002:a1c:4944:: with SMTP id w65mr12628654wma.169.1596812798313; Fri, 07 Aug 2020 08:06:38 -0700 (PDT) Received: from localhost.localdomain ([151.29.36.84]) by smtp.gmail.com with ESMTPSA id l1sm11111868wrb.12.2020.08.07.08.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 08:06:37 -0700 (PDT) Date: Fri, 7 Aug 2020 17:06:35 +0200 From: Juri Lelli To: peterz@infradead.org Cc: luca abeni , mingo@redhat.com, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, tommaso.cucinotta@santannapisa.it, alessio.balsini@gmail.com, bristot@redhat.com, dietmar.eggemann@arm.com, linux-rt-users@vger.kernel.org, mtosatti@redhat.com, williams@redhat.com, valentin.schneider@arm.com Subject: Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor Message-ID: <20200807150635.GU42956@localhost.localdomain> References: <20200807095051.385985-1-juri.lelli@redhat.com> <20200807095604.GO42956@localhost.localdomain> <20200807152832.591f462e@nowhere> <20200807134353.GR42956@localhost.localdomain> <20200807141346.GL2674@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200807141346.GL2674@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/08/20 16:13, peterz@infradead.org wrote: > On Fri, Aug 07, 2020 at 03:43:53PM +0200, Juri Lelli wrote: > > > Right, but I fear we won't be able to keep current behavior for wakeups: > > RT with highest prio always gets scheduled right away? > > If you consider RT throttling, that's already not the case. We can > consider this fair server to be just another way to implement that. > > At some point, we'll have have to preempt higher priority tasks, that's > the entire point of the thing after all. > Ah, indeed. But I was thinking we might try to do a little "better" wrt to RT Throttling while we are at it. :-) This proposal has the potential to be more flexible and to kick in only when really needed.