Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2173645ybe; Sat, 14 Sep 2019 09:12:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNeiiAKv1yoyHDpvxXycCu1KDA6TjPTMhEKjrJGD+T/T0g+Q4S50aOrIB5MmcdGbpd0U+M X-Received: by 2002:a05:6402:17eb:: with SMTP id t11mr53740591edy.107.1568477548997; Sat, 14 Sep 2019 09:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568477548; cv=none; d=google.com; s=arc-20160816; b=ovk5NeUMTJ42Nq/NQ/4mJCEOq5GW0J9rA56mUMqnDma/kW62g+hM28Y8jYSDOjzStd wTiwAdHde06go6esmZ+6aV8t6O7+1OV6JNOyatY/wQSlGRa1aAgdwTJ0MqXTdt6sTO0J kmsNoz4YooK12/6hd3cySd2WurOxYRxxIKHxegz7AV/CChwuaAKewoPZB48lihLfDtGF ZUY+0VbY4taUifzEzNHEeHNE46hmrh7Am7pEg3prS/1VkYP47xHrFfoZq9pSy1Athvrh zsvrnMxZhmUyfQovc1Q59bxNgB65Cg8Z5+JZUQsDxcSfQlJUSmKb/Rj2a6fjF/SKH/gS qG7A== 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:date:cc:to:from:subject:message-id; bh=a8V4yz0MIYythLrTXKpB2tvQKPwcVvsjHEg1Jwk9jkk=; b=oH0zxVHM7q4C4NM4iceADXlbjfi9zuwda7jnTDCtjANzJIKDbJbTaY2Ri5gaOi21JQ Kq4DOIF2nRpDbBiq/1OMUKK52LKbngpiNaK1CRdzn+H9D0chhbfK4O/kTBoSn96FDnqt XxHYDJyDjxqF2GQgzSl2nRVP00uanSYwZ/SluQQbkOD+Vq0LEmlP7Mrm8JVBNxszeMwW 6LrekOjUvp8nKgB+9MomNHPOdmFdCc6JthP8s3AeZYt/hw110tbfzYdUi0onMmiWSDtK BkL9Zj9ad5Xi6Ox2aZaWzkXOOaB/Ewdw6U0xi8BjIno2pScjnueIucr94NfVn16orhWI Vpog== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si8207820edo.290.2019.09.14.09.11.52; Sat, 14 Sep 2019 09:12:28 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404216AbfIMWwG (ORCPT + 99 others); Fri, 13 Sep 2019 18:52:06 -0400 Received: from mga06.intel.com ([134.134.136.31]:51512 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404136AbfIMWwG (ORCPT ); Fri, 13 Sep 2019 18:52:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Sep 2019 15:52:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,489,1559545200"; d="scan'208";a="386557590" Received: from spandruv-mobl3.jf.intel.com ([10.251.25.193]) by fmsmga006.fm.intel.com with ESMTP; 13 Sep 2019 15:52:04 -0700 Message-ID: <4226d5f460604a8130f8079b74ef3fb1d60009d7.camel@linux.intel.com> Subject: Re: [PATCH 1/2] x86,sched: Add support for frequency invariance From: Srinivas Pandruvada To: Giovanni Gherdovich , tglx@linutronix.de, mingo@redhat.com, peterz@infradead.org, bp@suse.de, lenb@kernel.org, rjw@rjwysocki.net Cc: x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, mgorman@techsingularity.net, matt@codeblueprint.co.uk, viresh.kumar@linaro.org, juri.lelli@redhat.com, pjt@google.com, vincent.guittot@linaro.org, qperret@qperret.net, dietmar.eggemann@arm.com Date: Fri, 13 Sep 2019 15:52:04 -0700 In-Reply-To: <20190909024216.5942-2-ggherdovich@suse.cz> References: <20190909024216.5942-1-ggherdovich@suse.cz> <20190909024216.5942-2-ggherdovich@suse.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-3.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-09-09 at 04:42 +0200, Giovanni Gherdovich wrote: ... > + > +/* > + * APERF/MPERF frequency ratio computation. > + * > + * The scheduler wants to do frequency invariant accounting and > needs a <1 > + * ratio to account for the 'current' frequency, corresponding to > + * freq_curr / freq_max. I thought this is no longer the restriction and Vincent did some work to remove this restriction. Thanks, Srinivas