Re: [linux-pm] [PATCH v2 0/8] RFC: CPU frequency min/max as PM QoS params
From: Rafael J. Wysocki <hidden>
Date: 2012-01-18 23:16:03
On Wednesday, January 18, 2012, Antti P Miettinen wrote:
mark gross [off-list ref] writes:quoted
I'm not a big fan of the cpufreq seamanly redundant export either. Doesn't the equivalent data get exported under /sys/devices/system/cpu/cpu?/cpufreq/ ?The added sysfs nodes are under /sys/devices/system/cpu/cpu?/cpufreq. They do no not duplicate functionality, they are just an addition.
So please drop them for now.
Currently you can request a new minimum by writing to
scaling_min_freq and you can view the currently enforced policy->min via
the same file. Patch 3 adds read-only policy_{min,max}_freq nodes for
being able to inspect the user_policy.min/max. This is related to patch
4 which preserves the requested min/max in user_policy instead of
storing the enforced min/max to user_policy. This is in turn related to
patch 5. We need to be able to revert back to requested min/max when PM
QoS constraints get lifted. I think we do not want to overwrite
user_policy min/max with policy->min/max as those values can be affected
by temporary constraints.
I would welcome more comments on patches 3 and 4.I would drop patch 3 and fold patch 4 into patch 5. Thanks, Rafael