Skip to content

sched/balancing: Misc updates & cleanups

Ingo Molnar lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sched/balancing: Switch the 'DEFINE_SPINLOCK(balancing)' spinlock into an 'atomic_t sched_balance_running' flagkernel/sched/fair.c+16 -37 replies
2/9sched/balancing: Remove reliance on 'enum cpu_idle_type' ordering when iterating [CPU_MAX_IDLE_TYPES] arrays in show_schedstat()kernel/sched/stats.c+1 -22 replies
3/9sched/balancing: Change 'enum cpu_idle_type' to have more natural definitionsinclude/linux/sched/idle.h kernel/sched/fair.c+13 -173 replies
4/9sched/balancing: Change comment formatting to not overlap Git conflict marker lineskernel/sched/fair.c+2 -22 replies
5/9sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICKkernel/sched/fair.c+2 -23 replies
6/9sched/balancing: Update run_rebalance_domains() commentskernel/sched/fair.c+7 -25 replies
7/9sched/balancing: Vertically align the comments of 'struct sg_lb_stats' and 'struct sd_lb_stats'kernel/sched/fair.c+17 -171 reply
8/9sched/balancing: Update comments in 'struct sg_lb_stats' and 'struct sd_lb_stats'kernel/sched/fair.c+9 -101 reply
9/9sched/balancing: Rename run_rebalance_domains() => sched_balance_softirq()Documentation/scheduler/sched-domains.rst Documentation/translations/zh_CN/scheduler/sched-domains.rst kernel/sched/fair.c+5 -51 reply

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchValentin SchneiderVincent Guittot
1/9R-b
2/9
3/9R-b
4/9R-b R-b
5/9R-b
6/9
7/9R-b
8/9R-b
9/9A-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 -v3 0/9] sched/balancing: Misc updates & cleanups

Improve a handful of things I noticed while looking through the scheduler balancing code. No change in functionality intended.

Changes in -v3:

- Fix a show_schedstat() assumption found by Shrikanth Hegde
- Rename the scheduler softirq handler

Thanks,

Ingo

======================================>

Ingo Molnar (8):
sched/balancing: Switch the 'DEFINE_SPINLOCK(balancing)' spinlock into an 'atomic_t sched_balance_running' flag sched/balancing: Change 'enum cpu_idle_type' to have more natural definitions sched/balancing: Change comment formatting to not overlap Git conflict marker lines sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK
sched/balancing: Update run_rebalance_domains() comments
sched/balancing: Vertically align the comments of 'struct sg_lb_stats' and 'struct sd_lb_stats' sched/balancing: Update comments in 'struct sg_lb_stats' and 'struct sd_lb_stats' sched/balancing: Rename run_rebalance_domains() => sched_balance_softirq()

Shrikanth Hegde (1):
sched/balancing: Remove reliance on 'enum cpu_idle_type' ordering when iterating [CPU_MAX_IDLE_TYPES] arrays in show_schedstat()

 Documentation/scheduler/sched-domains.rst                    |   2 +-
 Documentation/translations/zh_CN/scheduler/sched-domains.rst |   2 +-
 include/linux/sched/idle.h                                   |   3 +-
 kernel/sched/fair.c                                          | 108 +++++++++++++++++--------------
 kernel/sched/stats.c                                         |   3 +-
 5 files changed, 65 insertions(+), 53 deletions(-)
Signature · 1 line
2.40.1