On Wed, Apr 08, 2015 at 04:16:15PM +0100, Mike Turquette wrote:
On Wed, Apr 8, 2015 at 3:38 AM, Morten Rasmussen morten.rasmussen@arm.com wrote:
Hi Mike,
On Tue, Apr 07, 2015 at 09:53:42PM +0100, Mike Turquette wrote:
[...]
#13 "cpufreq: Architecture specific callback for frequency changes"
Vincent's fix for setting current freq (should be rolled into #13 above): https://git.linaro.org/people/vincent.guittot/kernel.git/commitdiff/3ac2b6a0...
#14 "arm: Frequency invariant scheduler load-tracking support"
Yes, these two are the essential ones I think. Since we no longer use a __weak function to implement arch_scale_freq_capacity() they will have to be modified a bit. I should be able to that today and provide you with new versions of those two.
Great!
I have pushed two updated patches to the usual repo based on a fairly recent snapshot of tip/sched/core. I rolled in an optimization as well so the code looks slightly different now. I did a quick test on TC2 and it appears to be working.
Please let me know if it doesn't :)
http://www.linux-arm.org/git?p=linux-power.git%3Ba=shortlog%3Bh=refs/heads/w...
Let me know what you think.
To me it looks like it boils down to two patches. If you want blocked utilization as well you can add:
# sched: Include blocked utilization in usage tracking
but that isn't essential.
I'll skip the blocked load contribution for now.
Ack.
Thanks, Morten