Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6724449ybh; Thu, 8 Aug 2019 04:45:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqKr8XnqMrpBzhDPx+A6erqW4L1Y0CtgYecxv58Y+FOL1ac1OlaNjYiC9EnRDGmk5if8Ms X-Received: by 2002:a17:90a:dac3:: with SMTP id g3mr3633126pjx.45.1565264707387; Thu, 08 Aug 2019 04:45:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565264707; cv=none; d=google.com; s=arc-20160816; b=pNTKBKQcTnCOVpJ4oaG+9EIApsxB2l8zBNesTbH8whi40vHzfhggkd085PosE5cLy/ nC51J9WmQRpw7pcWHXgRQdEcyep3w5yTKZkkO07UBPudDEziI4t1PYRqKpD2Fh2bW4pO yZjc9G7p3MGumy9Nuvpy6irPahoSo7ukrXWZuqabaqAkTVD4/xjz95qxRbbSSunWKzI5 eaE5/IBn9A9fm2Q/Ut+Asd5EPidDYx5GueRKsN2OLX5k65pLK/I3432FzTi5AXJpj5u4 XPFfaAAwIOal/mbh3mM0+9uj75xzfwqVtuUOlxib3TdVu0emPXSUYh57Tn5SPHQNi+ZU efqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OwYLyklNiawVEanWy9e2gKFq11b1eYekaaOoBxR9vfI=; b=zNpzBSxb7QOEVVXPyGLH2SA4+OMTM6xnN4HAgh6rNuc/NEtk8iP/wZIXmWUlLpaVbb w2mDQRXSNqXRlyv5OxZYxtNsrHJC8TjZM63Dco7ve+dJ1LI7vxm98CL+uZxyRhmhQs/Z jYd9Ul1PKQ0PxQu4YxMrkilJnaoh+V9Y0DDxu7m8EMYofZLfDSOMGKJCxct0vCxpgCAg 3qG/RBGsv/tsYvsc2nWvH3frv94TVoUK8uhaF096cUKVQNdmtsMTaHT/a0BFysbwJ6sF YT6RXGfGmQEKpJrNQJc7r39O7jo89vX40tGCNvLftf/TbgK2dSZGFd5qhBiCIywKS2yW Jb+g== 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 l70si492033pgd.363.2019.08.08.04.44.52; Thu, 08 Aug 2019 04:45:07 -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 S1731274AbfHHLoF (ORCPT + 99 others); Thu, 8 Aug 2019 07:44:05 -0400 Received: from foss.arm.com ([217.140.110.172]:60428 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729018AbfHHLoF (ORCPT ); Thu, 8 Aug 2019 07:44:05 -0400 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 CEE3F15A2; Thu, 8 Aug 2019 04:44:04 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.194.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E5D513F694; Thu, 8 Aug 2019 04:44:03 -0700 (PDT) Date: Thu, 8 Aug 2019 12:44:01 +0100 From: Qais Yousef To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Viresh Kumar , Ingo Molnar , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpufreq: schedutil: fix equation in comment Message-ID: <20190808114401.ziyxnm5yffjupnpm@e107158-lin.cambridge.arm.com> References: <20190802104628.8410-1-qais.yousef@arm.com> <20190805130620.GL2349@hirez.programming.kicks-ass.net> <13854122.nn4VJ8hDQq@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <13854122.nn4VJ8hDQq@kreacher> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/19 11:42, Rafael J. Wysocki wrote: > 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. FYI I've just got an email from tip-bot that it was committed there. Thanks! -- Qais Yousef