Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5219847ybh; Wed, 7 Aug 2019 02:43:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1fxTv7XyNLZ072cJvD5yGgLMLpOSS4gQpxmugwIv6fm9op0n4WjaobY8P1F/ksRjwa15A X-Received: by 2002:a17:90a:214e:: with SMTP id a72mr7742847pje.0.1565171016829; Wed, 07 Aug 2019 02:43:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565171016; cv=none; d=google.com; s=arc-20160816; b=zwTXmNNPgr0anlgpt9PuAh5NcHNsM5SY4dJdlz6JOT9XXYaYXEIoiaaeoquZHPC717 tjWh2Z+FlzEaCkJCReZ+WKHv2d0OnHEAld50AobWgY32T80SCBmpAhuRZKyrZrcu6ZVZ iRs8p+CiMbSJ1CP2l0ZokLTfolY+lO8nRliG0lnkg4fmMw9ILyRgrwCSzaitNzQNEfiA umScyjjnXEc6ecfFVSZ+iiU9woHdIEfOXE6/k728kEQ4Ma4fUGVvQL9/xyan5baLMOip DfWL2onbSzoZDMb0NohJknlUv0snnWk2PQQu+9Tt31lqJgarIaPH6bKQknNxggmZFwjS 0d1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=iaL7Lvfrd2Cx91pxpE2D1oDEHwJBQGF+HHVPfK4W+w4=; b=DKmU1rG/u5EksdKVxtnrEaZ3T61Ym1z1b74DcbQi6hqMAYIBOxqhn7Ixr19xET0mG+ 3/2/QilSzE7kIybS2bd2VCJBF2ySF+TRG40QYBw0CeVcjngkkwcQjK+v7YLR0g+4EPjN hcmiC5A9ob0+7kgn3dIbuVXjbFpal4URQuO+JzuS7WNbyXuE1inlB9FRvC+yYIm2hurQ SzRHkH3K0kOGZZ3fPkmYiNvnYb2vy8yoVc0FoNDP8DMKJNpw9xLTII8TMW/X6/i3Krtz 9JerNoq9Yb6DrFls8bonWiEneTTNSd9i2fO7P+j0HiWpjd8LncG8werdRDStXyyFRZTM YN9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si38409831pfh.0.2019.08.07.02.43.20; Wed, 07 Aug 2019 02:43:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728588AbfHGJmO (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.