<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/kernel/sched/cpufreq.c, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-01T23:08:43Z</updated>
<entry>
<title>cpufreq: sched: Helpers to add and remove update_util hooks</title>
<updated>2016-04-01T23:08:43Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2016-04-01T23:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bed612be638e41456cd8cb270a2b411a5b43d63'/>
<id>urn:sha1:0bed612be638e41456cd8cb270a2b411a5b43d63</id>
<content type='text'>
Replace the single helper for adding and removing cpufreq utilization
update hooks, cpufreq_set_update_util_data(), with a pair of helpers,
cpufreq_add_update_util_hook() and cpufreq_remove_update_util_hook(),
and modify the users of cpufreq_set_update_util_data() accordingly.

With the new helpers, the code using them doesn't need to worry
about the internals of struct update_util_data and in particular
it doesn't need to worry about populating the func field in it
properly upfront.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
</content>
</entry>
<entry>
<title>cpufreq: Move scheduler-related code to the sched directory</title>
<updated>2016-03-10T19:44:47Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2016-03-10T19:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adaf9fcd136970e480d7ca834c0cf25ce922ea74'/>
<id>urn:sha1:adaf9fcd136970e480d7ca834c0cf25ce922ea74</id>
<content type='text'>
Create cpufreq.c under kernel/sched/ and move the cpufreq code
related to the scheduler to that file and to sched.h.

Redefine cpufreq_update_util() as a static inline function to avoid
function calls at its call sites in the scheduler code (as suggested
by Peter Zijlstra).

Also move the definition of struct update_util_data and declaration
of cpufreq_set_update_util_data() from include/linux/cpufreq.h to
include/linux/sched.h.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
</content>
</entry>
</feed>
