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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71459C433FF for ; Wed, 7 Aug 2019 09:42:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E6E2222FC for ; Wed, 7 Aug 2019 09:42:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727016AbfHGJmO (ORCPT ); Wed, 7 Aug 2019 05:42:14 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:58390 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbfHGJmO (ORCPT ); Wed, 7 Aug 2019 05:42:14 -0400 Received: from 79.184.254.29.ipv4.supernova.orange.pl (79.184.254.29) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.275) id ca2a68884a7246d6; Wed, 7 Aug 2019 11:42:11 +0200 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: Qais Yousef , Viresh Kumar , Ingo Molnar , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpufreq: schedutil: fix equation in comment Date: Wed, 07 Aug 2019 11:42:11 +0200 Message-ID: <13854122.nn4VJ8hDQq@kreacher> In-Reply-To: <20190805130620.GL2349@hirez.programming.kicks-ass.net> References: <20190802104628.8410-1-qais.yousef@arm.com> <20190805130620.GL2349@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Monday, August 5, 2019 3:06:20 PM CEST Peter Zijlstra wrote: > On Fri, Aug 02, 2019 at 11:46:28AM +0100, Qais Yousef wrote: > > scale_irq_capacity() call in schedutil_cpu_util() does > > > > util *= (max - irq) > > util /= max > > > > But the comment says > > > > util *= (1 - irq) > > util /= max > > > > Fix the comment to match what the scaling function does. > > > > Signed-off-by: Qais Yousef > > Thanks! > I've applied this, so please let me know if it has gone into -tip too and I'll drop it then.