Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410037 - sys-power/cpufreqd config parser prevents usage of multi-cpu profile support
Summary: sys-power/cpufreqd config parser prevents usage of multi-cpu profile support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-03-28 17:00 UTC by Steven Newbury
Modified: 2014-05-11 08:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Invert test for associated profile string (cpufreqd-2.4.2-multicpu.patch,400 bytes, patch)
2012-03-28 17:01 UTC, Steven Newbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Newbury 2012-03-28 17:00:24 UTC
cpufreqd supports using a different profile for each CPU in a given rule in the pseudo code form "profile=CPU%d:%s,cpu_num,profile;", but the config parser has the test for a profile string paired with a CPU number reversed such a valid profile string is rejected.

Reproducible: Always

Steps to Reproduce:
Attempt to use a cpufreqd.conf with a rule containing something like: "profile=CPU0:On Demand High;CPU1:Powersave Low"

Actual Results:  
Parser rejects config file

Expected Results:  
Config should be accepted
Comment 1 Steven Newbury 2012-03-28 17:01:16 UTC
Created attachment 307011 [details, diff]
Invert test for associated profile string
Comment 2 Pacho Ramos gentoo-dev 2014-05-11 08:06:54 UTC
dropped