From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbcBOI7B (ORCPT ); Mon, 15 Feb 2016 03:59:01 -0500 Received: from mail-pf0-f175.google.com ([209.85.192.175]:36119 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752436AbcBOI66 (ORCPT ); Mon, 15 Feb 2016 03:58:58 -0500 Date: Mon, 15 Feb 2016 14:28:50 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Juri Lelli Subject: Re: [PATCH 9/9] cpufreq: governor: Use microseconds in sample delay computations Message-ID: <20160215085850.GQ6334@vireshk-i7> References: <3329748.lhJgppdTt9@vostro.rjw.lan> <9344385.GMvgsk6ndT@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9344385.GMvgsk6ndT@vostro.rjw.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15-02-16, 02:22, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Do not convert microseconds to jiffies and the other way around > in governor computations related to the sampling rate and sample > delay and drop delay_for_sampling_rate() which isn't of any use > then. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_conservative.c | 2 +- > drivers/cpufreq/cpufreq_governor.c | 4 +--- > drivers/cpufreq/cpufreq_governor.h | 15 ++------------- > drivers/cpufreq/cpufreq_ondemand.c | 28 +++++++++++++--------------- > 4 files changed, 17 insertions(+), 32 deletions(-) Acked-by: Viresh Kumar -- viresh