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:
Hi Juri & Morten,
Thanks for taking the quick call today. Here are some of the patches from the EAS V3 which I think are outstanding dependencies for sched-freq to be posted on LKML:
#4 "sched: Make sched entity usage tracking frequency-invariant"
This one is already in tip/sched/core with a slightly different subject ('...scale-invariant' instead of '...frequency-invariant'). The patch is the same.
#11 "sched: Make load tracking frequency scale-invariant"
This patch only affect load (runnable priority scaled). If you rely only on usage/utilization (get_cpu_usage()) for the sched/dvfs patches, I don't think you need this one?
Correct.
#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!
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.
Including those two in your posting shouldn't cause much harm I think as long we make it clear where they came from and they will continue to into the EAS RFCs.
Ack.
Thanks, Mike
Thanks, Morten