Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752412Ab1ERTqQ (ORCPT ); Wed, 18 May 2011 15:46:16 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:36994 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188Ab1ERTqO (ORCPT ); Wed, 18 May 2011 15:46:14 -0400 From: "Rafael J. Wysocki" To: myungjoo.ham@gmail.com Subject: Re: [PATCH v2 2/3] PM / DEVFREQ: add example governors Date: Wed, 18 May 2011 21:46:51 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.39-rc7+; KDE/4.6.0; x86_64; ; ) Cc: linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, "Greg Kroah-Hartman" , Mark Brown , Jiejing Zhang , Pavel Machek , Colin Cross , Nishanth Menon , Thomas Gleixner , Len Brown , Kyungmin Park References: <1305100723-29161-1-git-send-email-myungjoo.ham@samsung.com> <201105180039.56806.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201105182146.51869.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1914 Lines: 43 On Wednesday, May 18, 2011, MyungJoo Ham wrote: > 2011/5/18 Rafael J. Wysocki : > > On Wednesday, May 11, 2011, MyungJoo Ham wrote: > >> Three CPUFREQ-like governors are provided as examples. > >> > >> powersave: use the lowest frequency possible. The user (device) should > >> set the polling_ms as 0 because polling is useless for this governor. > >> > >> performance: use the highest freqeuncy possible. The user (device) > >> should set the polling_ms as 0 because polling is useless for this > >> governor. > >> > >> simple_ondemand: simplified version of CPUFREQ's ONDEMAND governor. > >> > >> When a user updates OPP entries (enable/disable/add), OPP framework > >> automatically notifies DEVFREQ to update operating frequency > >> accordingly. Thus, DEVFREQ users (device drivers) do not need to update > >> DEVFREQ manually with OPP entry updates or set polling_ms for powersave > >> , performance, or any other "static" governors. > > > > Well, do you expect anyone to actually use them? If not, it would make > > more sense to put them into a doc. > > According to our experiences of DVFS(although this "DEVFREQ" is not > applied to them, yet) in memory-bus and GPU, > I expect most DEVFREQ users might use "simple_ondemand" and > expect "powersave" and "performance" will probably mostly used while > testing and debugging. > ("userspace"-like governor would be also useful for that purpose, but > I'd add it later) It would be good to have at least one in-tree user for each of them (not necessarily from the start, but at one point in the future at least). So if you have any _specific_ users in mind, please let me know. Thanks, Rafael -- 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/