Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5205614ybx; Sun, 10 Nov 2019 08:50:22 -0800 (PST) X-Google-Smtp-Source: APXvYqy4gbpzipMHhFaMo1qy8G9XIMWqVxPq4gm6ObK0w3m5Q15qAY67hOfUaOn11y5AUDpZysyn X-Received: by 2002:a17:906:5502:: with SMTP id r2mr19091352ejp.3.1573404622876; Sun, 10 Nov 2019 08:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573404622; cv=none; d=google.com; s=arc-20160816; b=lKJsuj4/Jwps0jeVtnUeZiaiih3PZIwr19DLGJo7PBtIx4n39Vo26Qop5pwBsUe/6b XafXUAi/0bFnjFOKulRbj2+Rr+EfgUjEzBGWFmDRFhlN36NRa71xkLE+4DasJVlx8rMa vyMiwAFKTsoIiOcySu0y4lrGXIarNfAomqc+8/oLQJtmK2EXb/uB5cVw4rVC/Dbrh6bH wL/Dwv58IUU6wp7CL/a0Z9unCRmNHun4k2oCIjSofdwAqX03VksB0ZdunXR/nlEmW/Yi yn3qQq+pgiAXnmZNybaX5w9zEsLG8abGUW1NeJGDKetdZarXX7niJmBGUb8PgLcI/nZZ fN6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=X+Hr26sKlbLNkFabRdYHJh0Vikgffq61go87PtY2UhY=; b=YM3L96viRC+CCmAfjwCc1rvhhvSVDxCA2BXG1r95P8WYIOUa7CCLphXDsfd0ygSjvc 8V7SfKximl5vH6cHMCITipXq4v+wZFREEd8wlrfc1/AX9hoLxNNJwniUA1/RWgR4VxY+ 0/8Og0Mxl6XsR8pNbeOf2EavSh2du2wIkt5gO7nvQEVc4DnH4C4Dqb28Ec8QRvI2ny1X ysH7p7nIjWq2ECNlklwoKxL0GyQ8NVwwupjld7SDndkPNjlznlia+T+BD+5/kpMztYrm /d7jbU53hiE6DrQdlLiUeuRiJvOD4GzHieR/NUvacvj68frlnJxiK9/mJXKVIxrQBrHT VI9A== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si9448662edj.25.2019.11.10.08.49.58; Sun, 10 Nov 2019 08:50:22 -0800 (PST) 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726847AbfKJQsi (ORCPT + 99 others); Sun, 10 Nov 2019 11:48:38 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34157 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbfKJQsi (ORCPT ); Sun, 10 Nov 2019 11:48:38 -0500 Received: by mail-ot1-f65.google.com with SMTP id t4so9382833otr.1; Sun, 10 Nov 2019 08:48:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X+Hr26sKlbLNkFabRdYHJh0Vikgffq61go87PtY2UhY=; b=WkiBwAkeGj3UN+no84lM+DuSqJW8lTahaG6c8SnsN13trd8K6AUtiblhRV7MUlu2CW uwoejGjXbAd2YwBNbYjv9JGtNzVv1VrBzGzuIay6NEoecVWcDvdsCd7RcsBJHBcJmGi+ 0U9zhqbiYMIgDam2E9gKbo0lqLTpwsdTmvdxs1VAvsWBx4BBJD7v7qpK52GepldhyYPd D5aJjXo9zSkrYRvUwYz9a42NZ/RHhIQwlxb7vFOedHQoLcMbj5QPbtTbZQwByU9iaWqk NEodSVVRpfCxv4xJr3rrLrTi2J8oLCyr59sOVqhFrCBgrz2Kk4aFdbLHfzve9yJxZ0jI CToA== X-Gm-Message-State: APjAAAXV+tXPBDI2C/9OdZPxBnlDFDCDB0pYJ3v95irWIR2gBr81LQmk RaMtCUJppZYo22UMX4yET7o0R+WKE1SeLC04w/4= X-Received: by 2002:a9d:590f:: with SMTP id t15mr17448636oth.118.1573404515975; Sun, 10 Nov 2019 08:48:35 -0800 (PST) MIME-Version: 1.0 References: <10494959.bKODIZ00nm@kreacher> <3269796.AzLOQfDnpo@kreacher> <000701d59610$e0b3caa0$a21b5fe0$@net> <000a01d59656$99798710$cc6c9530$@net> In-Reply-To: <000a01d59656$99798710$cc6c9530$@net> From: "Rafael J. Wysocki" Date: Sun, 10 Nov 2019 17:48:21 +0100 Message-ID: Subject: Re: [PATCH v2] cpuidle: Use nanoseconds as the unit of time To: Doug Smythies Cc: "Rafael J. Wysocki" , Peter Zijlstra , Daniel Lezcano , LKML , Giovanni Gherdovich , "Rafael J. Wysocki" , Linux PM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 8, 2019 at 6:04 PM Doug Smythies wrote: > > On 2019.11.08 01:45 Rafael J. Wysocki wrote: > > On Fri, Nov 8, 2019 at 9:45 AM Doug Smythies wrote: > > > ... > >> I have been running this v2 today, with both menu and teo > >> governors. Acquiring some baseline reference data to compare > >> to now. The menu governor response seems different (Supporting > >> information/graphs will come later). > > > > That may be good or bad, depending in what way it is different. :-) > > My thinking was that the differences should be minimal between > the baseline (linux-next as of 2019.11.07) and plus your two patches. > Because this was a change of units, but not functionality. > Such is the case with the teo governor, but not the menu governor. > I have not tried the ladder or haltpoll governors, and don't intend to. > > Now to attempt to isolate the issue in the code, which might take > considerable time. Thanks! It looks like I have overlooked a unit conversion in menu or done a unit conversion twice somewhere.