All of lore.kernel.org
 help / color / mirror / Atom feed
* [Query]: CPUFREQ: Affected and related cpus in cpufreq
@ 2012-10-08 13:58 viresh kumar
       [not found] ` <CAOh2x=mJUkRxwwTRh89-Xpm1WwB9ciDOXVohqoTu6B5k6meHdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: viresh kumar @ 2012-10-08 13:58 UTC (permalink / raw)
  To: cpufreq, Rafael J. Wysocki
  Cc: linux-pm, linaro-dev, spear-devel, Sudeep.KarkadaNagesha

Hi All,

Sorry for  asking one of the most basic question of cpufreq :(

I couldn't get the difference between affected (policy->cpus) and
related cpus (policy->related_cpus) in cpufreq...

As per Documentation/code:

affected_cpus(policy->cpus):
- List of CPUs that require software coordination of frequency.
- Processors part of affected_cpus share policy struct
- Policy limits the frequencies that the processor can work with.

related_cpus(policy->related_cpus):
- List of CPUs that need some sort of frequency coordination, whether
  software or hardware.
- Processors part of related_cpus share governer.
- Governer sets the rules, about when to change limits specified by policy.

Correct?

So, now comes the real question:
- In which scenario's should we populate affected and related cpus?
- Should related cpus will always be a superset of affected cpus?

--
Viresh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-01  6:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08 13:58 [Query]: CPUFREQ: Affected and related cpus in cpufreq viresh kumar
     [not found] ` <CAOh2x=mJUkRxwwTRh89-Xpm1WwB9ciDOXVohqoTu6B5k6meHdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-10 12:01   ` Sudeep KarkadaNagesha
2012-10-10 13:26     ` Viresh Kumar
2012-10-10 13:44       ` Sudeep KarkadaNagesha
2012-10-10 14:07         ` Viresh Kumar
2013-07-01  6:20           ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.