Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp444038pxb; Thu, 19 Nov 2020 05:28:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJweFnSSu8TC4RhMLqV0JM3WDtOAFi17FDqIfx6QyXQmfoiIaHiyB+a7NUq5N0uhnshgThLO X-Received: by 2002:a50:b761:: with SMTP id g88mr30814085ede.387.1605792484581; Thu, 19 Nov 2020 05:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605792484; cv=none; d=google.com; s=arc-20160816; b=c6zUAbMK/4HY2PmODKzqdFVx01Su1H0cclNuLnTsbNlcDAgtNTRjmnzGDZy6B4t705 SZ5OZjFkpFWOJ4NEEnWlXIY/wXGAXNOLriKjv2v9YHq5lmZNevxC6L1wVcb4bpE7uzAD W2OahRhCnMjHZ6Fq/E0ACWZMh16LdBln39R22EPyrhHxcm4AhtS0bvtb7TdB4Ya+jlAR yz8GBBrEWZQRoTfbZARApWmgd6o8BBcRONRWjWbowQ6Q4BNAMpUNf2LxJtqwtAsqRREq vlwXpE+0vMAhdICjWI9Vt/q9zfbwRyKY5b3W3jXtIrPWd/toOlir5mVbBQN9WRO3AAI5 rz9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KLQf36DeOut5/5BOL2GcUQMrMJwzUV5j8KCDhBu2E+k=; b=dmRVTsQchqK5dva1UosTsxPIPIWjy4uMCab67qmppnTkrz5mAgQscqYgrP12IWpuz3 qudFTC3rNvY1eC+jFYFDKNHroU89um1/Gyd0RbaGdTdsgXgF44cFRA1Dbdk8tyfkyoGR eEtzI9N1bvk9hnpvZCKY3L8L+LD5O+r1FT3JhQyC1trzI4CHORvC4VUrggcimRX3QNYe GOIRSPRJn4ya5FO+8/3y/p689orQ4Jysmqoui87yB6J82iOAvCSXQIiHVEOD2NmG1Z47 blUL312FUwFe1/xluahNNcpcnNGkFnvO11n9FBv+mIjHkRCwT/0diGvQJAAG98qGcx5r RC9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iht9VFEu; 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 ho9si17068258ejc.275.2020.11.19.05.27.41; Thu, 19 Nov 2020 05:28:04 -0800 (PST) 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=iht9VFEu; 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 S1727085AbgKSNZT (ORCPT + 99 others); Thu, 19 Nov 2020 08:25:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726474AbgKSNZS (ORCPT ); Thu, 19 Nov 2020 08:25:18 -0500 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4504EC0613CF for ; Thu, 19 Nov 2020 05:25:18 -0800 (PST) Received: by mail-lf1-x142.google.com with SMTP id w142so8192664lff.8 for ; Thu, 19 Nov 2020 05:25:18 -0800 (PST) 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; bh=KLQf36DeOut5/5BOL2GcUQMrMJwzUV5j8KCDhBu2E+k=; b=iht9VFEu0IoOXoakcowuQegaWzvNUB079aNJiHsBjuQGCXqC/IP+4OEEOAHES8o/N3 a4yjIvhvwGK08M6wWpjQ/m/kk1bdfQBGIuCAaiap1PpzVAi2y8tdqics7XCDyV1fzJ6i pQXaXHgZvt/F2P+14xTwdEwULl1VRCF4gDMBzwKAOYbeY2yWB7xdVz5dooqRtKpkvZyY oZw6kBUfP9jSKkfNf7Xiax4jy7VbHldPSz3MSEYkoBBzBUsvsu6G+RjmTrrp+g27YtUN OGEK5KD41ujZfWmTuWQSSPRgtq6kP+vX7mm5+XtD9La8qHGYyzHRnF12/fhCcmYU+JBG DLyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KLQf36DeOut5/5BOL2GcUQMrMJwzUV5j8KCDhBu2E+k=; b=N6ACwrurMmUNVcVaKR4GcToKW/7fjaEZ8FpbTpX2jBnQqDYENmsNizOH1uwc98n6ne zhplPn7wsccUiCrerFC3OuCqMjEDrBdohAu0Fx73ezdlaQbSPi0wH/2mA9zAqpIB0Zkq 0PPlAXrTIUqQxUeq+t4cfddR8scMOaxzBM5VT1AJmQWPvU386odT2Mtee8ulBz0MpJ89 J7tYRd6WMz2XM+YaPxMskxVS1A+S+pKtRKd4fYLTlMr2ChYyrHT6p9Q+4wnmogpjKhgN GOTQ2RN3W290/+dvTi5NkzjR1yL+u/zqkXCeOidzetiFAcxiPOXkWye2pJe+BtPqaJbb zfoQ== X-Gm-Message-State: AOAM533c7AhCvNHm+bzobfDU8UtMKCyQs8eo/UewY3R5dynYG08N6+FU 6N/tB662mFMo9Dl0RFda+pJcVsoXVeX7MhG2fHS34Q== X-Received: by 2002:a19:a0c:: with SMTP id 12mr6292839lfk.568.1605792316677; Thu, 19 Nov 2020 05:25:16 -0800 (PST) MIME-Version: 1.0 References: <17fc60a3-cc50-7cff-eb46-904c2f0c416e@canonical.com> <20201118235015.GB6015@geo.homenetwork> <20201119003319.GA6805@geo.homenetwork> <7c9462c9-8908-8592-0727-9117d4173724@canonical.com> In-Reply-To: <7c9462c9-8908-8592-0727-9117d4173724@canonical.com> From: Vincent Guittot Date: Thu, 19 Nov 2020 14:25:05 +0100 Message-ID: Subject: Re: [PATCH v3] sched/fair: fix unthrottle_cfs_rq for leaf_cfs_rq list To: "Guilherme G. Piccoli" Cc: Tao Zhou , "gregkh@linuxfoundation.org" , Sasha Levin , SeongJae Park , Ben Segall , Dietmar Eggemann , Juri Lelli , Tao Zhou , Mel Gorman , Ingo Molnar , Tao Zhou , Phil Auld , Peter Zijlstra , Pavan Kondeti , Steven Rostedt , Jay Vosburgh , Gavin Guo , halves@canonical.com, nivedita.singhvi@canonical.com, linux-kernel , "# v4 . 16+" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Nov 2020 at 12:36, Guilherme G. Piccoli wrote: > > > > On 19/11/2020 05:36, Vincent Guittot wrote: > > On Thu, 19 Nov 2020 at 01:36, Tao Zhou wrote: > >> > >> On Thu, Nov 19, 2020 at 07:50:15AM +0800, Tao Zhou wrote: > >>> On Wed, Nov 18, 2020 at 07:56:38PM -0300, Guilherme G. Piccoli wrote: > >>>> Hi Vincent (and all CCed), I'm sorry to ping about such "old" patch, but > >>>> we experienced a similar condition to what this patch addresses; it's an > >>>> older kernel (4.15.x) but when suggesting the users to move to an > >>>> updated 5.4.x kernel, we noticed that this patch is not there, although > >>>> similar ones are (like [0] and [1]). > >>>> > >>>> So, I'd like to ask if there's any particular reason to not backport > >>>> this fix to stable kernels, specially the longterm 5.4. The main reason > >>>> behind the question is that the code is very complex for non-experienced > >>>> scheduler developers, and I'm afraid in suggesting such backport to 5.4 > >>>> and introduce complex-to-debug issues. > >>>> > >>>> Let me know your thoughts Vincent (and all CCed), thanks in advance. > >>>> Cheers, > >>>> > >>>> > >>>> Guilherme > >>>> > >>>> > >>>> P.S. For those that deleted this thread from the email client, here's a > >>>> link: > >>>> https://lore.kernel.org/lkml/20200513135528.4742-1-vincent.guittot@linaro.org/ > >>>> > >>>> > >>>> [0] > >>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe61468b2cb > >>>> > >>>> [1] > >>>> https://lore.kernel.org/lkml/20200506141821.GA9773@lorien.usersys.redhat.com/ > >>>> <- great thread BTW! > >>> > >>> 'sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list" failed to apply to > >>> 5.4-stable tree' > >>> > >>> You could check above. But I do not have the link about this. Can't search it > >>> on LKML web: https://lore.kernel.org/lkml/ > >>> > >>> BTW: 'ouwen210@hotmail.com' and 'zohooouoto@zoho.com.cn' all is myself. > >>> > >>> Sorry for the confusing.. > >>> > >>> Thanks. > >> > >> Sorry again. I forget something. It is in the stable. > >> > >> Here it is: > >> > >> https://lore.kernel.org/stable/159041776924279@kroah.com/ > > > > I think it has never been applied to stable. > > As you mentioned, the backport has been sent : > > https://lore.kernel.org/stable/20200525172709.GB7427@vingu-book/ > > > > I received another emailed in September and pointed out to the > > backport : https://www.spinics.net/lists/stable/msg410445.html > > > > > >> > > Thanks a lot Tao and Vincent! Nice to know that you already worked the > backport, gives much more confidence when the author does that heheh > > So, this should go to stable 5.4.y, but not 4.19.y IIUC? Yeah. they should be backported up to v5.1 but not earlier Regards, Vincent > Cheers, > > > Guilherme