lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 7 Jul 2007 15:50:01 +0900
From:	Mattia Dongili <malattia@...ux.it>
To:	Valdis.Kletnieks@...edu
Cc:	linux-kernel@...r.kernel.org
Subject: Re: cpufreq 'choice' Kconfig oddness in 2.6.22-rc6-mm1..

On Sat, Jul 07, 2007 at 12:35:10AM -0400, Valdis.Kletnieks@...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!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ