Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp431834pxb; Wed, 15 Sep 2021 05:32:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHROe/FyLyVjHxrSXcK3GgsBwgoWL1xStSOnEJDiVlozgXj/TYzdsKVUePrAsjF9jPF+0h X-Received: by 2002:a92:d90b:: with SMTP id s11mr13074536iln.206.1631709125419; Wed, 15 Sep 2021 05:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631709125; cv=none; d=google.com; s=arc-20160816; b=0b39KsICESS3WOaccOQIXCOvO52QedBwl1lSho1H7ePg++wYdBgI3Zx0t4rW4u9eb+ M70oQJUVbB84h10F1FZ0YRwSmVvQ8/bT/Fm5HF5vMn2buxrpSB3pPcUlXatXYIkG2IF7 /TFZULh6FYht4tlSww6XM4jYPuVX4jME7SKS5+cJA0xcO/uiOkqgqFy2Z+LdO0LHuL6I yJ9flA0WsGQcEVZ7NwZ7zpGG+aZm+HfKnXJ1gvvyURB55JylX1sCm4wVNFWBXZHWK3g4 pCFGYg34fzT4+T9ahtDjEhmFqSbNsv43APDKdybdzOcA707JAIVfYcUiuEssMhiDMZla 1xkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RMVz/YL87qFcfNY/40TnLa7NwiZxF7oASbtjCW+e3a4=; b=trzxwGlJ25IFwuaLn2X6GDoS+HTcpVr/jf/3uYRviBI5vHW5t+HtCMsqYADjdbWa0T 0GoK2RoD1R+ecVFnvdbZ81H+U2klAtH3OfjvjqRQi4XFPOGRZ9tbye6qZHlPjBvdtJX5 FdMR7Mg/+xHfsYMQeWwqOkwSyoDQ7wURShUYnc1y6mJSVlQ9H669gSixeNZma3BMVAel dbgaXPCEiUas++WdKGbqDiEtsbdsCmhyGXP1Uidb9BUE3grygIJRYV96vs+xUGK5RfCp R5k8CNiE3GbkZDCr3dYnhhyO3p06os+AQ3U22GL6szPu6+f0maKY6MCwMW/evOJjwhek kwfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RzAvK5wh; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si5040813ilh.174.2021.09.15.05.31.50; Wed, 15 Sep 2021 05:32:05 -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=@linaro.org header.s=google header.b=RzAvK5wh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233390AbhIOMc1 (ORCPT + 99 others); Wed, 15 Sep 2021 08:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbhIOMc0 (ORCPT ); Wed, 15 Sep 2021 08:32:26 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE938C061574 for ; Wed, 15 Sep 2021 05:31:07 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id k65so5308502yba.13 for ; Wed, 15 Sep 2021 05:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RMVz/YL87qFcfNY/40TnLa7NwiZxF7oASbtjCW+e3a4=; b=RzAvK5whFHR8Ja0G/byfrStN/Gh4cBJyxKb4g9NBLL7rLGvqIq05Fra5Bw7l1E/eAJ Xh60LlMhNBXL7udExk5GF6GgX5J2hqInSzKQzdqH5gb8W51HNlx9hfWvIWAuh28KkY2e lyKQnlt3SP+HjroUYvDLOm4fXd/xpC47tLU9fz44Vq5UcuRAY2gqjtYGXOO7NUsme2I0 0VYgkCnIxEoxEw8iEX2FOYBns5hFePRrx21ydMoWcVfGMpyF3xIoLhnVrcrCqmm3RJk3 EK2gTCT/xAzLKspLaltXX/zN65UbISZUGc1YcmiFjEXs0hg3/IMmRZ7YvCzXI7gW34ng f22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RMVz/YL87qFcfNY/40TnLa7NwiZxF7oASbtjCW+e3a4=; b=40w/4L/aeGtLFqCD4iuJOR7JWnO6jo4NaWNy8B4l1/pbHpWlPBouugVH4BUS/NmsLG fHbh4qyWbxpeOQgbxBAtvxtamBuWmx0B6lcAbzCeD0tO4t5hdsU0Bk6gwi7Lp/j+VTWP IBhiQtNmdh7luuRWdcx5L9/vkbUFqvmqVFO+nl0/Ahpov6M5Y1k5vd3iwFjM2s4cNYSV Puon02HRB7x4uPKXEC0UT/jPdmLEfDQbxRVLGsJ+DJCC2OQRL1PMS+sV5rlyBSa7Gpj8 WC93IQjpHiJbJL4/L3FiVNYQWlApG6lnhB7158x8sIVOrlT3RgD3vWb+L9Sp1tdS37dI RGbg== X-Gm-Message-State: AOAM533j7WXVhjCjPohEjodJKuf7hVBHFx2Iq9kptduu0DF9JXREmp7y 1Fpp3kPemnSYt+mSzHiRW6YHYbKN3T3IeECXUpq6pw== X-Received: by 2002:a5b:142:: with SMTP id c2mr5909857ybp.425.1631709066908; Wed, 15 Sep 2021 05:31:06 -0700 (PDT) MIME-Version: 1.0 References: <20210819175034.4577-1-mkoutny@suse.com> <20210819175034.4577-5-mkoutny@suse.com> <20210914092207.GA23743@blackbody.suse.cz> In-Reply-To: From: Vincent Guittot Date: Wed, 15 Sep 2021 14:30:56 +0200 Message-ID: Subject: Re: [RFC PATCH v2 4/5] sched/fair: Simplify load_cfs_rq_list maintenance To: =?UTF-8?Q?Michal_Koutn=C3=BD?= Cc: linux-kernel , Phil Auld , Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Odin Ugedal , Rik van Riel , Giovanni Gherdovich Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Sept 2021 at 11:45, Vincent Guittot wrote: > > On Tue, 14 Sept 2021 at 11:22, Michal Koutn=C3=BD wrot= e: > > > > On Fri, Sep 10, 2021 at 04:19:27PM +0200, Vincent Guittot wrote: > > > Your proposal looks interesting but I need more time to make sure tha= t > > > all cases are covered. We have faced several odd corner cases and > > > sequences in the past that I need time to check that you don't put > > > some back > > > > Do you have any pointers to the cases that come to your mind? I wonder > > if those could be reproduced with a simple setup. > > I don't have a strict list but several warnings for leaf_list have > been already reported on lkml in the past and the use cases were quite > complicated and I want to go through them to make sure they are still > covered. The corner cases that I wanted to check, are covered by a7b359fc6a37 ("sched/fair: Correctly insert cfs_rq's to list on unthrottle"= ) and fdaba61ef8a2 ("sched/fair: Ensure that the CFS parent is added after unthrottling") This patch looks ok to me. Also, propagate_entity_cfs_rq() could also get advantage of the same kind of change > > Vincent > > > (FTR, I used the LTP test (at b673f49ae) cfs_bandwidth01 to check this = change.) > > > > Thanks, > > Michal