Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934852AbcCPRhN (ORCPT ); Wed, 16 Mar 2016 13:37:13 -0400 Received: from casper.infradead.org ([85.118.1.10]:36837 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753687AbcCPRhK (ORCPT ); Wed, 16 Mar 2016 13:37:10 -0400 Date: Wed, 16 Mar 2016 18:36:46 +0100 From: Peter Zijlstra To: "Rafael J. Wysocki" Cc: Linux PM list , Juri Lelli , Steve Muckle , ACPI Devel Maling List , Linux Kernel Mailing List , Srinivas Pandruvada , Viresh Kumar , Vincent Guittot , Michael Turquette , Ingo Molnar Subject: Re: [PATCH v4 7/7] cpufreq: schedutil: New governor based on scheduler utilization data Message-ID: <20160316173646.GE6344@twins.programming.kicks-ass.net> References: <1711281.bPmSjlBT7c@vostro.rjw.lan> <11678919.CQLTrQTYxG@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11678919.CQLTrQTYxG@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 129 Lines: 4 On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > + if ((s64)delta_ns > NSEC_PER_SEC / HZ) That's TICK_NSEC