Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756006AbbKDQC4 (ORCPT ); Wed, 4 Nov 2015 11:02:56 -0500 Received: from mga14.intel.com ([192.55.52.115]:49002 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753556AbbKDQCz (ORCPT ); Wed, 4 Nov 2015 11:02:55 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,243,1444719600"; d="scan'208";a="811672048" Subject: Re: [PATCH 3/3] cpuidle,menu: smooth out measured_us calculation To: riel@redhat.com, linux-pm@vger.kernel.org References: <1446590059-18897-1-git-send-email-riel@redhat.com> <1446590059-18897-4-git-send-email-riel@redhat.com> Cc: linux-kernel@vger.kernel.org, rafael.j.wysocki@intel.com, len.brown@intel.com, daniel.lezcano@linaro.org From: Arjan van de Ven Message-ID: <563A2C21.8020308@linux.intel.com> Date: Wed, 4 Nov 2015 08:02:41 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446590059-18897-4-git-send-email-riel@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 17 On 11/3/2015 2:34 PM, riel@redhat.com wrote: > Furthermore, for smaller sleep intervals, we know the chance that > all the cores in the package went to the same idle state are fairly > small. Dividing the measured_us by two, instead of subtracting the > full exit latency when hitting a small measured_us, will reduce the > error. there is no perfect answer for this issue; but at least this makes the situation a lot better, so Acked-by: Arjan van de Ven -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/