Skip to content

sched/balancing: Misc updates & cleanups

Ingo Molnar lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10sched/balancing: Switch the 'DEFINE_SPINLOCK(balancing)' spinlock into an 'atomic_t sched_balance_running' flagkernel/sched/fair.c+16 -31 reply
2/10sched/balancing: Remove reliance on 'enum cpu_idle_type' ordering when iterating [CPU_MAX_IDLE_TYPES] arrays in show_schedstat()kernel/sched/stats.c+1 -21 reply
3/10sched/balancing: Change 'enum cpu_idle_type' to have more natural definitionsinclude/linux/sched/idle.h kernel/sched/fair.c+13 -160 replies
4/10sched/debug: Increase SCHEDSTAT_VERSION to 16kernel/sched/stats.c+1 -18 replies
5/10sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernelslib/Kconfig.debug+1 -10 replies
6/10sched/balancing: Change comment formatting to not overlap Git conflict marker lineskernel/sched/fair.c+2 -20 replies
7/10sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICKkernel/sched/fair.c+4 -31 reply
8/10sched/balancing: Update run_rebalance_domains() commentskernel/sched/fair.c+6 -31 reply
9/10sched/balancing: Vertically align the comments of 'struct sg_lb_stats' and 'struct sd_lb_stats'kernel/sched/fair.c+17 -171 reply
10/10sched/balancing: Update comments in 'struct sg_lb_stats' and 'struct sd_lb_stats'kernel/sched/fair.c+9 -101 reply

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchValentin SchneiderVincent Guittot
1/10R-b
2/10R-b
3/10R-b R-b
4/10
5/10
6/10R-b R-b
7/10R-b R-b
8/10R-b
9/10R-b R-b
10/10R-b R-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 -v4 00/10] 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 -v4:

- Incorporate review feedback
- Bump SCHEDSTAT_VERSION to 16, due to the changed order of colums
- Allow CONFIG_SCHEDSTAT builds more widely

Thanks,

Ingo

==============================>
Ingo Molnar (9):
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/debug: Increase SCHEDSTAT_VERSION to 16
sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels
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'

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

 include/linux/sched/idle.h |   2 +-
 kernel/sched/fair.c        | 103 +++++++++++++++++++++++++++++++++++++----------------------------
 kernel/sched/stats.c       |   5 ++--
 lib/Kconfig.debug          |   2 +-
 4 files changed, 62 insertions(+), 50 deletions(-)
Signature · 1 line
2.40.1