mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] cpufreq: Avoid checking governor return values that are always 0
@ 2016-05-12 13:12 Rafael J. Wysocki
  2016-05-12 13:13 ` [PATCH 1/2] cpufreq: governor: CPUFREQ_GOV_POLICY_EXIT never fails Rafael J. Wysocki
  2016-05-12 13:14 ` [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP " Rafael J. Wysocki
  0 siblings, 2 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2016-05-12 13:12 UTC (permalink / raw)
  To: Linux PM list
  Cc: Srinivas Pandruvada, Viresh Kumar, Linux Kernel Mailing List

Hi,

As it turns out, all of the existing governors (and the upcoming schedutil one)
always return 0 from ->governor() for the event argument equal to _GOV_STOP
or _POLICY_EXIT.

The following two patches rearrange the core cpufreq code to take that into
account.

Thanks,
Rafael

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

end of thread, other threads:[~2016-05-13  3:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12 13:12 [PATCH 0/2] cpufreq: Avoid checking governor return values that are always 0 Rafael J. Wysocki
2016-05-12 13:13 ` [PATCH 1/2] cpufreq: governor: CPUFREQ_GOV_POLICY_EXIT never fails Rafael J. Wysocki
2016-05-13  3:13   ` Viresh Kumar
2016-05-12 13:14 ` [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP " Rafael J. Wysocki
2016-05-13  3:14   ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®