Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp431182pxa; Fri, 21 Aug 2020 10:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+XRRsAHuO0INautmASloNkEOMypeP0cTFbR1Fc8nUlRGYStNrtXhR4cmJnw1huhz7WTrM X-Received: by 2002:aa7:d948:: with SMTP id l8mr3919092eds.371.1598032472233; Fri, 21 Aug 2020 10:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598032472; cv=none; d=google.com; s=arc-20160816; b=FqmjzklCPL5qzl/5C14yB3lMS4u1fxfWtt/Tp4QO6iKkR3HvQlrXaNywsbpuWv/3hm fyiGP0VrtEQD/QYrH1tyVIULke0lWKZcjz42NNKiGAOkpDqRM5okVgSMjuQ/kF9+0NHv sn5RSO01k8hLo0so8ncVLZHAJQepbeE88zOPrA7D/cL8isZgWT7oogx8sGoQEFbP4sa0 CvJWDjcOABJZR68/vTf2PMqCvrKsJYjkuhqAi/qGNAww370xfLXnw2gg/3/R2SKUjWCX THH0Y87OfZTUEJdZczBQCPmzBhvCaqqV84wVmfVj3yjQ9UVTOLbmg8Ai0TzPrZrZuz15 XN7w== 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=KDlrggQ2vNQh8kIVWAKpmSytXwzVxgIIQ0UEDa2xW1o=; b=M5/MZw2u64NpZDEeve0NsQtSfQqJdls9w+ieYP4ySv9qnHq+Lwms1/6rt6TocJv+VU 1TIR23duoOTsp05zht/wuioohGCg6vVf4geMKidqFcySMtTqLjZD41UgZmJT0/QgUujy so+LPDTLEKTdSbN5R5zEgKqN/hQBSanjByZnernMQiFtw0bRZ9+FIWe7zWZc/2bqtbzB 4/n8QD4ARrFrvRh5sJ3CVY6TJzweyUzRqN+vMRqap63NMLzwyq0nTcggSxYBcpEazV3u MjHB/oUUFwQBueMRrqJgRj1kM8khaXAB8e7KzjkLBET8UReCtif3C4X0e93trPh6KaCF IZjA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si1182681ejc.297.2020.08.21.10.54.07; Fri, 21 Aug 2020 10:54:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbgHURxc (ORCPT + 99 others); Fri, 21 Aug 2020 13:53:32 -0400 Received: from foss.arm.com ([217.140.110.172]:35310 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbgHURxb (ORCPT ); Fri, 21 Aug 2020 13:53:31 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 74E2B1063; Fri, 21 Aug 2020 10:53:30 -0700 (PDT) Received: from [192.168.1.8] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1E7C53F66B; Fri, 21 Aug 2020 10:53:28 -0700 (PDT) Subject: Re: CFS flat runqueue proposal fixes/update To: Rik van Riel , Peter Zijlstra Cc: Paul Turner , "vincent.guittot" , kernel-team@fb.com, "linux-kernel@vger.kernel.org" , "dietmar.eggeman" References: <1609106d05a6a4a5938233e993548510f599d7d9.camel@surriel.com> <0e7a9174-6ed9-752d-dacb-4dce182852cf@arm.com> From: Dietmar Eggemann Message-ID: <7b6349fc-c4c1-9c32-6b8f-0a9b3d7fa93c@arm.com> Date: Fri, 21 Aug 2020 19:53:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: 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 20.08.20 22:39, Rik van Riel wrote: > On Thu, 2020-08-20 at 16:56 +0200, Dietmar Eggemann wrote: [...] > The issue happens with a flat runqueue, when t1 goes > to sleep, but t2 and t3 continue running. > > We need to make sure the vruntime for t2 has not been > advanced so far into the future that cgroup A is unable > to get its fair share of CPU wihle t1 is sleeping. Ah, these problems are related to the 'CFS flat runqueue' patch-set! Misunderstanding om my side. I somehow assumed that you wanted to say that these problems exist in current mainline and could be solved with the patch-set plus some extra functionality on top.