Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp247005pxj; Thu, 3 Jun 2021 05:49:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2B6C3bSlBMy9wywKXajbqPm3DZOlAyuw5aQ65tNundHYJH5TqdEYxt8+J83pxgQB6GSfE X-Received: by 2002:a17:906:1701:: with SMTP id c1mr38191814eje.425.1622724596762; Thu, 03 Jun 2021 05:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622724596; cv=none; d=google.com; s=arc-20160816; b=Uos82x4TsQGVgeO8h59xMcajcJLFXuZRMs9G0e3TqpI00xJ3DkYfLYqHrRs5fKUccO KJbHrVJBxVENtJf5n49yuALNezcjPERREvz4dU2NaRdpGq/quHFiyIHyCsm2yaupvQVy fo7+3NLtYqWdcZDpQFfMVnC7TDocVhyqNvDJQs9VA/sl84cg4uN6oQTTp4dEhicnnk+B GrzjJ9kbkjsGk+0fTnxUklkbmgWLvLo8JK77L9muhTT8+6oNY9ECtYoZVHInPBCRyS6t AvsLddmuCaB9nf5ET6JMMU3u4ihUMdNl+YpJL7tzZh2Ji1e5JIn5BXpHgcRKaLjyTUC5 JSfw== 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=rjZiLzgztTwrDnTRRzZLDNIH/uFFhQzORDSKq4SuBVs=; b=MB+iEF/CG7Bi4UBEBOWYK1KN38njeRG3r+RjSo4Jfs10Xg3qmPhhNMJy0EshVw9P8R vmuXBqmo+cf1ScvWW6paB6QYIS4CdAOdXjO7Dbx/aN1lywwXM8UZAdrhf+fmdIJIGvu7 EBt36X8Bmj0hWp5ErhZ9W+MFpp0cOk6cHpIzksGsA6urLkT6JYevgR8NHdMqrFKvT60s ePtgnI9tIaWTHFhVOma4jlm+vqaAbN51GEnAvcu3RelivdGjuPVavM83XBhn5xyviDFV sDmwlwpNh3DCJrpdnoU6p5yCZwIWmysoZnuE4mfk0OkmdQXlOA4hd/SWWd2kPHlU6LnB cEGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWa2GVRa; 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 l21si2102486eja.295.2021.06.03.05.49.34; Thu, 03 Jun 2021 05:49:56 -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=FWa2GVRa; 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 S230213AbhFCMtr (ORCPT + 99 others); Thu, 3 Jun 2021 08:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbhFCMtr (ORCPT ); Thu, 3 Jun 2021 08:49:47 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0C0EC06174A for ; Thu, 3 Jun 2021 05:48:02 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id p20so6944431ljj.8 for ; Thu, 03 Jun 2021 05:48:02 -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; bh=rjZiLzgztTwrDnTRRzZLDNIH/uFFhQzORDSKq4SuBVs=; b=FWa2GVRa7jz98e5j8NZTE8n1xNZ7ULalaBadTxfAOldakJQkKaq6OD7kbbAIHllw1s 1M+5HEakJvXynvUE3WBknc7GuaUBsj4iSOCb2INpZptZv0gkIN43YN5s+dLPbZpkIHXs WvJqh5Q11KKUBEqlKzOhZhafwisEhbPmrmVttrG0WaKonWZnCQHJWT+U/FTx30Rx9q6b vYcxkEsPQw5sE8380mzrXeAlAnVsXKy4DNVEAXMHjlOl7jXGMfhfQO9u/IEOroi52Ncm rgvUmFVcM2q5c6n/WCpNd4uLpzRNAK5PUJtoPW6RxBU/zWBBQPx7Z+tdrD774OSQEdTH Y3mA== 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=rjZiLzgztTwrDnTRRzZLDNIH/uFFhQzORDSKq4SuBVs=; b=MwWYLkydaSFzFAIMn4fNzwK0xhXqVJGHfAr76O//uKeQEK6SDDSYqLOqVOi+naHnZ+ SFTk35MJqHZot29iEe7R27LyO3djd482LgbFORNTyTz1o11DJx8HYkPGeXIY/16Y8BO0 X6lUB1pYbZle45x1DSqfO9qO1if2GWm5Lzp9UoaWjp+ke3bJ8VtSLFPVsVs0HnrsHfJC U/l1pX65AFXg+bCb5OaMqQ8cgYZzw88D/OcaUyf+QXXlCw/+7CfapzZ4x443EeaedFog SsVDImKcJe0+nJk3Q2ZWqwOfCFjg0vOCGG8BOD7mtw1QOzYj9seedrtDCmtkdU9WJsXg KGJQ== X-Gm-Message-State: AOAM53163F+j9+h5DTgCXW+VhprWtkfNr3Uv1xIWXYwSWjOddlwqgrwF Nb/AZvwrzsSu8I0YwyTlV7pU+NdKygkr+8n0G7vU6Q== X-Received: by 2002:a05:651c:4cf:: with SMTP id e15mr2017988lji.401.1622724480250; Thu, 03 Jun 2021 05:48:00 -0700 (PDT) MIME-Version: 1.0 References: <20210601155328.19487-1-vincent.guittot@linaro.org> In-Reply-To: From: Vincent Guittot Date: Thu, 3 Jun 2021 14:47:48 +0200 Message-ID: Subject: Re: [PATCH] sched/pelt: check that *_avg are null when *_sum are To: Odin Ugedal Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Benjamin Segall , Mel Gorman , Daniel Bristot de Oliveira , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 3 Jun 2021 at 13:06, Odin Ugedal wrote: > > Hi, > > Is there an idea to add tg_load_avg_contrib as well, to avoid > regressions where that is not set to zero? TBH I wondered while preparing this patch if tg_load_avg_contrib should be checked as well but I came to the conclusion that we should keep this looking at PELT metrics only. If tg_load_avg_contrib != 0 but load_avg ==0, it means that we failed to update tg_load_avg_contrib somewhere else > > Otherwise: > > Acked-by: Odin Ugedal