Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp695326rwb; Thu, 8 Dec 2022 01:32:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf4eroXpFscXZwJWYOHcdqm++fKyiQzP27ljuqUqtDeZRzVsiiXdwgosKzx5xVy0Mh3RY6/J X-Received: by 2002:a17:906:4cc1:b0:7ae:50c6:fd0a with SMTP id q1-20020a1709064cc100b007ae50c6fd0amr44396491ejt.184.1670491975553; Thu, 08 Dec 2022 01:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670491975; cv=none; d=google.com; s=arc-20160816; b=eiIuHUso0xsO7h1FQUYdPDavsGWAfzrip3yHRoggM1FreBdV6/OaZUU9NMZKM9/J1m yyGRtkFNFGTZCC2tmOJ17MLGFiAH6FlKYVnrz8Or9kyBUkZfhSvbewKZS9n0gf8zaXns 0wRgyE9UivFU0PH10q5vsE1MVVzwGxd5CWC26qnCthVN4hIdXIlTlgeLeR+JGo38UmC+ 4ozf+Egf2GI8v/630Fno+eLCf9cIFj5E73zFAwmlU3cdZFREUjCLd1j1Auxv8HzZfrIM NNEJvvyPwrDDTPSKimG6kAy0PzhHBy/PyJjyVWRL6du0Zh2JZehvzVyPRPdn4R1/YMPC BCEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ZupyoFZAWc6dk4XMwpsu+xszE8zOIGERduwOt9BoKQ0=; b=CDF3H4fuNLhUk7SVVV8QR1AQJJgFuSW7wg0nsevFy8a/BcbGOVlnY01Vrtm7pce69s S6JQOimPcnDeA8TlGoF0bHuaysVp2pHWPa0lUl+l724K+MYOfiMdhaQZ1KBoFVlEcqGQ uV9tUkqPevgKpmhLuKQEzKZv4ODmA/f+EmCaTNkIwm5aIXnaXore8TQussi9pTz5DHEA ZZ9f07rsFsmT2Hjii6CdnsDRzHs70o6SQEpBnQ5WkeGWC7N138310LIQu1BHgZLMvm2G L+Wyk7TVk9XW2Asu9SFpUDIq0f6xsWrX6BzVUlqwZsOfsLXx4h+2Sy4PsJrsww1LUWv6 ft+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a056402089100b0045cecdc1fbcsi5683223edy.9.2022.12.08.01.32.37; Thu, 08 Dec 2022 01:32:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229997AbiLHIu3 (ORCPT + 72 others); Thu, 8 Dec 2022 03:50:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbiLHIu1 (ORCPT ); Thu, 8 Dec 2022 03:50:27 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0356CDC; Thu, 8 Dec 2022 00:50:25 -0800 (PST) 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 73AF7D6E; Thu, 8 Dec 2022 00:50:32 -0800 (PST) Received: from localhost (ionvoi01-desktop.cambridge.arm.com [10.1.196.65]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 558573F73D; Thu, 8 Dec 2022 00:50:25 -0800 (PST) Date: Thu, 8 Dec 2022 08:50:23 +0000 From: Ionela Voinescu To: Ricardo Neri Cc: "Peter Zijlstra (Intel)" , Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , x86@kernel.org, "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "Tim C . Chen" Subject: Re: [PATCH v2 06/22] sched/fair: Collect load-balancing stats for IPC classes Message-ID: References: <20221128132100.30253-1-ricardo.neri-calderon@linux.intel.com> <20221128132100.30253-7-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221128132100.30253-7-ricardo.neri-calderon@linux.intel.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Monday 28 Nov 2022 at 05:20:44 (-0800), Ricardo Neri wrote: [..] > > +struct sg_lb_ipcc_stats { > + int min_score; /* Min(score(rq->curr->ipcc)) */ > + int min_ipcc; /* Min(rq->curr->ipcc) */ Nit: this is not the minimum IPCC between the current tasks of all runqueues, but the IPCC specific to the task with the minimum score. Possibly there's not much to be done about the variable name, but the comment can be made more clear. Thanks, Ionela. > + long sum_score; /* Sum(score(rq->curr->ipcc)) */ > +}; [..]