Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp323714pxj; Thu, 3 Jun 2021 07:36:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9uZH+0Symm3uadcn6teuw+dztEC0OTexiaBMn7DZq6fpx8gXmwPZxjr0pFvAJ8cIm8JDu X-Received: by 2002:a17:906:28d8:: with SMTP id p24mr27280205ejd.64.1622730998743; Thu, 03 Jun 2021 07:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622730998; cv=none; d=google.com; s=arc-20160816; b=bR/TgnncTOm7tXDf2RxsLWBTDvOhfcq+UGxz0JdWTlsS6dzrmQSdcos+ftjAQNmPSl qouaI/TbpxPf01kjckV4ZKzUtclWcIZs0iBYhhyMsd2yyk3ZX7lQCRw8A0QNcKx4Q20J gjEc4RyXZtnKIOLf2EqrhyC12b3w6ws+bYc3/hhnSLA7dDCbjf6uno/pg/9Fghvi/uFB 092K2kLOItJ+KAxuLCsW/5db81woNlGXd9swAIY7i0Ry5ox+rjUnNOiJ2BNpdLmHZQ3I KVBU2t6JaEEE+dywSru/NLl57u9eV+ZBInspzT+li5Jvi2wtKE8Aaf/f3rLcR4mIFYYL EtIA== 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=jek8VYrbUTgHu6rDeQso6jW7gqcwx9N8LPcpEzUt7zY=; b=g2xjc+r0knBdxG1kTw9HQafrF3+xz7KbuVGS79HRSTDYcQ+dqaLVzOEJy2d197wTJ6 tymo+Z3aUyz/z4ftsFsSZJuAkAHDG4xDEsr/4y5JNjY9SPzZC0stpZ7iPNQgRu3Ei863 sjeXNu4znO4WQGWWJRmvjcmx3obPkJrKeepf+Z8JhE0LDSOmtsMZN5VQrRByoxe1r3tW CuF8EPOVCEumug0AdnM2vfxFiZpjnMwAMP8JAtPtm96Z1e8INrblcAgg58WzpetORKHB /VqrWzaCBliOaYaM+7Cj/xInX15HlzgP7PH0GN/1sLCa8o25jmU79ATUBWW0bR60i2IX sQew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@uged.al header.s=google header.b=XsCT8l1v; 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 j22si2671697eds.591.2021.06.03.07.36.15; Thu, 03 Jun 2021 07:36:38 -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=@uged.al header.s=google header.b=XsCT8l1v; 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 S231224AbhFCOgP (ORCPT + 99 others); Thu, 3 Jun 2021 10:36:15 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:41814 "EHLO mail-qk1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230517AbhFCOgO (ORCPT ); Thu, 3 Jun 2021 10:36:14 -0400 Received: by mail-qk1-f172.google.com with SMTP id c124so6093581qkd.8 for ; Thu, 03 Jun 2021 07:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uged.al; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jek8VYrbUTgHu6rDeQso6jW7gqcwx9N8LPcpEzUt7zY=; b=XsCT8l1vXpcjpdoebJzxf/T/7Fg0kAZ+uNm4zeMDVBnKN3ojDYMDQLAokyN8wE2wjJ dlZLf5u40xayTn0lLvo5jQaZoFdypbXovNeVzMbdEjz4aaBntqhGMiIBUg1xMnRtlTFe Oyf483WZEeLVkYM+xOz7pjmlflC+ypDrx9ISy0tjlQd94F/5FC3uwFgMXg/A5Vzq2tbL Hqi7WZRck82ueCFQkP53OOwPzCz0ZqldND0FkvUs08PCBomYGQGMMceEGOyz83DM6lFh aQn+FeWZIQpkX8bgvJN6pn6diDQDUZNc17CijMRmypKPtzrmguQggRWnEF3hOm58l1ef Muiw== 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=jek8VYrbUTgHu6rDeQso6jW7gqcwx9N8LPcpEzUt7zY=; b=Li4XYuQ6d+eRNBrzBh51JBstN/KxDQQGXizu0tPQpsz+zMTQsPWfg2Y8SJRdl1OSzF T49v+GF8Ose6zurRnEHsJs3yqOaoZNPBB8gwqITTzyvvmKjbCDw4BCPbtOvabT20fyN2 IemorAgvCdkeBPjoKHP9GLe1uN3Ey1zDAmdvUIBBwJw7/LmK22rtVGwGgI0RVRHziyjM gSkHAupP4kXlSIzDJORy4f8i1PA+5lR/f8U9Z9AAxNKzRkFCVSxzpginVEN1non4yqSS qCABcvwwfa45xagG6XI1j9lAMBSgxA1gCAoq/JQT8zWRkikuaWXTd2hmRv40R3bKlvnA u8VA== X-Gm-Message-State: AOAM533RM9n6fWtfeFyDzQI26eUc6DLwDi+5M8iTGenkKaRQbiAAB6QR kY6gowvZi+qOkxmUn7o2ysudmMypXEl30edZ2ieydl3n8BycOQzDzTI= X-Received: by 2002:a05:620a:56a:: with SMTP id p10mr32786793qkp.238.1622730809606; Thu, 03 Jun 2021 07:33:29 -0700 (PDT) MIME-Version: 1.0 References: <20210601155328.19487-1-vincent.guittot@linaro.org> In-Reply-To: From: Odin Ugedal Date: Thu, 3 Jun 2021 16:32:50 +0200 Message-ID: Subject: Re: [PATCH] sched/pelt: check that *_avg are null when *_sum are To: Vincent Guittot Cc: Odin Ugedal , 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 > 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 Ahh, that sounds good. Agree. Thanks Odin