From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161786AbdAEPzb (ORCPT ); Thu, 5 Jan 2017 10:55:31 -0500 Received: from mga05.intel.com ([192.55.52.43]:48167 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161609AbdAEPz0 (ORCPT ); Thu, 5 Jan 2017 10:55:26 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,322,1477983600"; d="scan'208";a="26582797" Subject: Re: [PATCH 1/3] cpuidle/menu: stop seeking deeper idle if current state is too deep To: Rik van Riel , Alex Shi , Daniel Lezcano , "Rafael J . Wysocki" , vincent.guittot@linaro.org, open list References: <1483630187-29622-1-git-send-email-alex.shi@linaro.org> <1483630187-29622-2-git-send-email-alex.shi@linaro.org> <1483631039.25514.1.camel@redhat.com> Cc: linux-pm@vger.kernel.org, Ulf Hansson , Rasmus Villemoes From: Arjan van de Ven Message-ID: Date: Thu, 5 Jan 2017 07:55:24 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1483631039.25514.1.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/2017 7:43 AM, Rik van Riel wrote: > On Thu, 2017-01-05 at 23:29 +0800, Alex Shi wrote: >> The obsolete commit 71abbbf85 want to introduce a dynamic cstates, >> but it was removed for long time. Just left the nonsense deeper >> cstate >> checking. >> >> Since all target_residency and exit_latency are going longer in >> deeper >> idle state, no needs to waste some cpu cycle on useless seeking. > > Makes me wonder if it would be worth documenting the > requirement that c-states be listed in increasing > order? or better, a boot time quick check...