Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp225876rwb; Tue, 13 Dec 2022 16:38:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf4/lJ6VSOIycqubaFM8h0wpeff/O+U2zTd4y+gETdGOnsMpmqCykHROpyMmj7M3juav5fgF X-Received: by 2002:a62:4ece:0:b0:577:3126:704d with SMTP id c197-20020a624ece000000b005773126704dmr23212684pfb.17.1670978305454; Tue, 13 Dec 2022 16:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670978305; cv=none; d=google.com; s=arc-20160816; b=t6YYaHQL3EDWY493+WFO/nempYUX77M5smMn2EqORs8d59JyDZabnKDYdaYEpEu85s XY+FEsOPFepunj8V/gZ3bUgo4rSYf016DyEbwFfNnyAVP9CZPybcSTJJTi9aiw1OO7p4 8om6qhbDBAjY61nNW76tQcEQpViul7b0s8+mSY7eNGTHkiQ08SC68dIREYRjoQbP4Kvz QYAkhidlRdVx8e4dCkwM7yqsiZgC22ngGjWO6ooB2fE8yZ6xrEKo7j+94jA3cPy+JoKa Gyfgl2d1dQaEI1LTo+viuuDeJJgE8RJElshbMkGOJTRZArTDMIT7UBetwOkG315IlsBA SZ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=45aFTjXIhRdpjewVNGSIKD6rBAILTs+xmi07d3zyuOk=; b=ItYKWlhMO9GuXw/T3tIrmhJEQQI9hfIcSWdN7ergxpkS0TH1c0c0qJ8g6WhmoIi+rL 5UT3SM66SnJRit2eCi0I3gk9Ac4EuXXRPmOMfJUWjVO4VXZmqChQLHXTYaksNFPCGjeU +R2cNFA55YC6pQ5xfiUFYPUlzgcEJKii9CFxTQYsWXh10vzX/O+ux+wOKaHq4sZKQXrX OeAyGYrlG7rBujQXvpec4UZJP7RONyFGuYqs9WdVQDNWrDmYEp+hb4Cq90fCtx6ocQ5P 5oFD5YO2G/pPxAnjQLXIG7S/I0kPLhsR3ZrrrtWwmOJaBibrcjlnS08YbHxC45Sw5rr5 Apag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DjYqsIFH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020aa78f22000000b00574f6921ba2si13313650pfr.207.2022.12.13.16.38.15; Tue, 13 Dec 2022 16:38:25 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=DjYqsIFH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237114AbiLNAXm (ORCPT + 73 others); Tue, 13 Dec 2022 19:23:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237050AbiLNAXj (ORCPT ); Tue, 13 Dec 2022 19:23:39 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82C406165; Tue, 13 Dec 2022 16:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670977418; x=1702513418; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aSgfFdFh7+vD8IJADliquC/z7NtT93tuuNY9WQr1as8=; b=DjYqsIFHQUb10xg3VWrE/yhZQO/zAPEe0Fr0PlURGrgb+XYNkGzjetnw 4eETDmoHrGePK8Ol0bxJJdMCcGJuNQQ42Dbj7fri1XyWsMRRsGbAbMihP wf7pj/n0O8V9Etc8eM8UfHxyboOxz38qvDXp6zdo7S9XmfQF3B253XTJl MCaB1fLu3XVB8qFwhGCFIhdwGBt4V4JMiJ+vvbFIJBf1WC3yOj3mQkRrZ /p5fzYYSn5zopqwbMjtPlDfB+Ypdx7Wvk8iWpWo2YZqFZMRnCKVUmWPNc tJoRq5H+J2IRQtOdWAl90kGGac1CHung/zjl0N8hs9PYE19NVwD0jxkOD w==; X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="382573166" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="382573166" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 16:23:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="642306690" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="642306690" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by orsmga007.jf.intel.com with ESMTP; 13 Dec 2022 16:23:32 -0800 Date: Tue, 13 Dec 2022 16:31:43 -0800 From: Ricardo Neri To: Ionela Voinescu 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: <20221214003143.GB30234@ranerica-svr.sc.intel.com> 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: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,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 On Thu, Dec 08, 2022 at 08:50:23AM +0000, Ionela Voinescu wrote: > 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. Very true. I will make the change. Thanks and BR, Ricardo