From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC5D2C3A5A7 for ; Thu, 8 Dec 2022 08:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229978AbiLHIu2 (ORCPT ); Thu, 8 Dec 2022 03:50:28 -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> Precedence: bulk List-ID: X-Mailing-List: linux-pm@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)) */ > +}; [..]