From: Mattia Dongili <malattia@linux.it>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: cpufreq 'choice' Kconfig oddness in 2.6.22-rc6-mm1..
Date: Sat, 7 Jul 2007 15:50:01 +0900 [thread overview]
Message-ID: <20070707065001.GA15181@inferi.kami.home> (raw)
In-Reply-To: <6443.1183782910@turing-police.cc.vt.edu>
On Sat, Jul 07, 2007 at 12:35:10AM -0400, Valdis.Kletnieks@vt.edu wrote:
> So I was looking at drivers/cpufreq/Kconfig, and wondering...
>
> Is there a specific reason why we have a 'choice' clause that allows selecting
> 'performance' or 'userspace' as the default governor, and no obvious way to
> select powersave, ondemand, or conservative as a default? Or was this an
Yes, ondemand and conservative may refuse to load/work on systems with
a high transition latency and that is sometimes discovered only at
runtime. This makes them not selectable as default governors.
> oversight I should cook up a patch for? Looks like the Kconfig and a bit
> of cut-n-paste in include/linux/cpufreq.h is all that's needed?
No, some more work is needed (e.g.: falling back to a different governor
if the selected fails). Thomas Renninger has posted patches on
cpufreq-devel to accomplish that.
cheers
--
mattia
:wq!
next prev parent reply other threads:[~2007-07-07 6:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 4:35 Valdis.Kletnieks
2007-07-07 6:50 ` Mattia Dongili [this message]
2007-07-08 3:49 ` Valdis.Kletnieks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070707065001.GA15181@inferi.kami.home \
--to=malattia@linux.it \
--cc=Valdis.Kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®