Skip to content

RFC sched and cpufreq fixes/cleanups

Joel Fernandes lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Revert "sched/fair: Drop always true parameter of update_cfs_rq_load_avg()"kernel/sched/fair.c+8 -70 replies
2/5sched/fair: Skip frequency update if CPU about to idlekernel/sched/fair.c kernel/sched/sched.h+23 -37 replies
3/5cpufreq: schedutil: Use idle_calls counter of the remote CPUinclude/linux/tick.h kernel/sched/cpufreq_schedutil.c kernel/time/tick-sched.c+15 -11 reply
4/5sched/fair: Correct obsolete comment about cpufreq_update_utilkernel/sched/fair.c+1 -32 replies
5/5sched/fair: remove impossible condition from find_idlest_group_cpukernel/sched/fair.c+1 -14 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchViresh KumarBrendan Jackman
1/5
2/5
3/5A-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 0/5] sched and cpufreq fixes/cleanups

Here are some patches that are generally minor changes and I am posting them together. Patches 1/5 and 2/5 are related to skipping cpufreq updates for the dequeue of the last task before the CPU enters idle. That's just a rebase of
[1] mostly. Patches 3/5 and 4/5 fix some minor things I noticed after the remote cpufreq update work. and patch 5/5 is just a small clean up of find_idlest_group. Let me know your thoughts and thanks. I've based these patches on peterz's queue.git master branch.

[1] https://patchwork.kernel.org/patch/9936555/

Joel Fernandes (5):
Revert "sched/fair: Drop always true parameter of

    update_cfs_rq_load_avg()"

sched/fair: Skip frequency update if CPU about to idle
cpufreq: schedutil: Use idle_calls counter of the remote CPU sched/fair: Correct obsolete comment about cpufreq_update_util sched/fair: remove impossible condition from find_idlest_group_cpu

 include/linux/tick.h             |  1 +
 kernel/sched/cpufreq_schedutil.c |  2 +-
 kernel/sched/fair.c              | 44 ++++++++++++++++++++++++++++------------
 kernel/sched/sched.h             |  1 +
 kernel/time/tick-sched.c         | 13 ++++++++++++
 5 files changed, 47 insertions(+), 14 deletions(-)
Signature · 1 line
2.15.0.rc2.357.g7e34df9404-goog