Re: [PATCH 2/2 V2] CPUFreq: Add new sysfs attribute freqdomain_cpus for acpi-freq driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 June 2013 18:08, Lan Tianyu <tianyu.lan@xxxxxxxxx> wrote:
> diff --git a/Documentation/cpu-freq/acpi-cpufreq.txt b/Documentation/cpu-freq/acpi-cpufreq.txt
> new file mode 100644
> index 0000000..9c59d09
> --- /dev/null
> +++ b/Documentation/cpu-freq/acpi-cpufreq.txt
> @@ -0,0 +1,7 @@
> +Sysfs interface
> +---------------------------
> +(Interface locates in the directory /sys/devices/system/cpu/cpuN/cpufreq)
> +
> +freqdomain_cpus :               List of Online + Offline CPUs in same CPU dependency
> +                                domain.
> +

Apart from the comments from Rafael, this must be described a bit
more. We must write here how is it different than related_cpus.

Write: freqdomain_cpus are the list of cpus (online+offline) that share
same clock/freq domain at hardware level. This information might
be hidden from cpufreq core and so related_cpus can have different
value compared to this. This is not used by kernel but userspace
DVFS controllers to get better power/performance values for platforms
using acpi-cpufreq.c driver.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux