Skip to contentSkip to conversation

scheduler updates for v5.19

GIT PULL Merged Ingo Molnar 3 participants 5 messages May 23, 2022 – May 25, 2022

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest sched/core git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2022-05-23

# HEAD: 991d8d8142cad94f9c5c05db25e67fa83d6f772a topology: Remove unused cpu_cluster_mask()

Scheduler changes in this cycle were:

- Updates to scheduler metrics:

- PELT fixes & enhancements
- PSI fixes & enhancements
- Refactor cpu_util_without()

- Updates to instrumentation/debugging:

- Remove sched_trace_*() helper functions - can be done via debug info
- Fix double update_rq_clock() warnings

- Introduce & use "preemption model accessors" to simplify some of the Kconfig complexity.

- Make softirq handling RT-safe.

- Misc smaller fixes & cleanups.

Thanks,

Ingo

------------------>
Chengming Zhou (3):
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq sched/fair: Delete useless condition in tg_unthrottle_up() sched/psi: report zeroes for CPU full at the system level

Dietmar Eggemann (4):
sched/fair: Refactor cpu_util_without() sched/fair: Remove sched_trace_*() helper functions sched/fair: Remove cfs_rq_tg_path()
topology: Remove unused cpu_cluster_mask()

Hailong Liu (1):
psi: Fix trigger being fired unexpectedly at initial

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

Peter Zijlstra (1):
sched: Reverse sched_class layout

Sebastian Andrzej Siewior (1):
smp: Make softirq handling RT safe in flush_smp_call_function_queue()

Tao Zhou (1):
sched/fair: Revise comment about lb decision matrix

Thomas Gleixner (2):
sched: Fix missing prototype warnings
smp: Rename flush_smp_call_function_from_idle()

Valentin Schneider (5):
preempt/dynamic: Introduce preemption model accessors
kcsan: Use preemption model accessors
ftrace: Use preemption model accessors for trace header printout
MAINTAINERS: Add myself as scheduler topology reviewer
mailmap: Update my email address to @redhat.com

zgpeng (1):
sched/fair: Move calculate of avg_load to a better location

 .mailmap                          |   1 +
 Documentation/accounting/psi.rst  |   9 +-
 MAINTAINERS                       |   1 +
 include/asm-generic/vmlinux.lds.h |  12 +-
 include/linux/interrupt.h         |   9 ++
 include/linux/sched.h             |  57 ++++++--
 include/linux/topology.h          |   7 -
 kernel/kcsan/kcsan_test.c         |   5 +-
 kernel/sched/build_policy.c       |   2 +
 kernel/sched/build_utility.c      |   1 +
 kernel/sched/core.c               |  35 +++--
 kernel/sched/deadline.c           |  15 +-
 kernel/sched/fair.c               | 292 +++++++++-----------------------------
 kernel/sched/idle.c               |   2 +-
 kernel/sched/pelt.h               |   4 +-
 kernel/sched/psi.c                |  18 ++-
 kernel/sched/rt.c                 |   5 +-
 kernel/sched/sched.h              |  55 ++++---
 kernel/sched/smp.h                |   6 +
 kernel/smp.c                      |  32 +++--
 kernel/softirq.c                  |  13 ++
 kernel/stop_machine.c             |   2 -
 kernel/trace/trace.c              |  14 +-
 23 files changed, 266 insertions(+), 331 deletions(-)
#1 lore raw
Quoted 91 lines · Ingo Molnar

Linus,

Please pull the latest sched/core git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2022-05-23

   # HEAD: 991d8d8142cad94f9c5c05db25e67fa83d6f772a topology: Remove unused cpu_cluster_mask()

Scheduler changes in this cycle were:

- Updates to scheduler metrics:

- PELT fixes & enhancements
- PSI fixes & enhancements
- Refactor cpu_util_without()

- Updates to instrumentation/debugging:

- Remove sched_trace_*() helper functions - can be done via debug info
- Fix double update_rq_clock() warnings

- Introduce & use "preemption model accessors" to simplify some of the Kconfig complexity.

- Make softirq handling RT-safe.

- Misc smaller fixes & cleanups.

Thanks,

Ingo

------------------>
Chengming Zhou (3):
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq sched/fair: Delete useless condition in tg_unthrottle_up() sched/psi: report zeroes for CPU full at the system level

Dietmar Eggemann (4):
sched/fair: Refactor cpu_util_without() sched/fair: Remove sched_trace_*() helper functions sched/fair: Remove cfs_rq_tg_path()
topology: Remove unused cpu_cluster_mask()

Hailong Liu (1):
psi: Fix trigger being fired unexpectedly at initial

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

Peter Zijlstra (1):
sched: Reverse sched_class layout

Sebastian Andrzej Siewior (1):
smp: Make softirq handling RT safe in flush_smp_call_function_queue()

Tao Zhou (1):
sched/fair: Revise comment about lb decision matrix

Thomas Gleixner (2):
sched: Fix missing prototype warnings
smp: Rename flush_smp_call_function_from_idle()

Valentin Schneider (5):
preempt/dynamic: Introduce preemption model accessors
kcsan: Use preemption model accessors
ftrace: Use preemption model accessors for trace header printout
MAINTAINERS: Add myself as scheduler topology reviewer
mailmap: Update my email address to @redhat.com

zgpeng (1):
sched/fair: Move calculate of avg_load to a better location

 .mailmap                          |   1 +
 Documentation/accounting/psi.rst  |   9 +-
 MAINTAINERS                       |   1 +
 include/asm-generic/vmlinux.lds.h |  12 +-
 include/linux/interrupt.h         |   9 ++
 include/linux/sched.h             |  57 ++++++--
 include/linux/topology.h          |   7 -
 kernel/kcsan/kcsan_test.c         |   5 +-
 kernel/sched/build_policy.c       |   2 +
 kernel/sched/build_utility.c      |   1 +
 kernel/sched/core.c               |  35 +++--
 kernel/sched/deadline.c           |  15 +-
 kernel/sched/fair.c               | 292 +++++++++-----------------------------
 kernel/sched/idle.c               |   2 +-
 kernel/sched/pelt.h               |   4 +-
 kernel/sched/psi.c                |  18 ++-
Quoted 8 lines
 kernel/sched/rt.c                 |   5 +-
 kernel/sched/sched.h              |  55 ++++---
 kernel/sched/smp.h                |   6 +
 kernel/smp.c                      |  32 +++--
 kernel/softirq.c                  |  13 ++
 kernel/stop_machine.c             |   2 -
 kernel/trace/trace.c              |  14 +-
 23 files changed, 266 insertions(+), 331 deletions(-)

Note that the above is a v5.18 based shortlog and diffstat, but because the RCU tree deep-merged one of the scheduler commits that introduced better, Kconfig-invariant preemption model accessors:

cfe43f478b79 preempt/dynamic: Introduce preemption model accessors

... and you merged the RCU tree already, so you'll get this shortlog & diffstat:

=============>
Chengming Zhou (3):
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq sched/fair: Delete useless condition in tg_unthrottle_up() sched/psi: report zeroes for CPU full at the system level

Dietmar Eggemann (4):
sched/fair: Refactor cpu_util_without() sched/fair: Remove sched_trace_*() helper functions sched/fair: Remove cfs_rq_tg_path()
topology: Remove unused cpu_cluster_mask()

Hailong Liu (1):
psi: Fix trigger being fired unexpectedly at initial

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

Ingo Molnar (1):
Merge tag 'v5.18-rc5' into sched/core to pull in fixes & to resolve a conflict

Peter Zijlstra (1):
sched: Reverse sched_class layout

Sebastian Andrzej Siewior (1):
smp: Make softirq handling RT safe in flush_smp_call_function_queue()

Tao Zhou (1):
sched/fair: Revise comment about lb decision matrix

Thomas Gleixner (2):
sched: Fix missing prototype warnings
smp: Rename flush_smp_call_function_from_idle()

Valentin Schneider (4):
kcsan: Use preemption model accessors
ftrace: Use preemption model accessors for trace header printout
MAINTAINERS: Add myself as scheduler topology reviewer
mailmap: Update my email address to @redhat.com

zgpeng (1):
sched/fair: Move calculate of avg_load to a better location

 .mailmap                          |   1 +
 Documentation/accounting/psi.rst  |   9 +-
 MAINTAINERS                       |   1 +
 include/asm-generic/vmlinux.lds.h |  12 +-
 include/linux/interrupt.h         |   9 ++
 include/linux/sched.h             |  16 +--
 include/linux/topology.h          |   7 -
 kernel/kcsan/kcsan_test.c         |   5 +-
 kernel/sched/build_policy.c       |   2 +
 kernel/sched/build_utility.c      |   1 +
 kernel/sched/core.c               |  23 +--
 kernel/sched/deadline.c           |  15 +-
 kernel/sched/fair.c               | 292 +++++++++-----------------------------
 kernel/sched/idle.c               |   2 +-
 kernel/sched/pelt.h               |   4 +-
 kernel/sched/psi.c                |  18 ++-
 kernel/sched/rt.c                 |   5 +-
 kernel/sched/sched.h              |  55 ++++---
 kernel/sched/smp.h                |   6 +
 kernel/smp.c                      |  32 +++--
 kernel/softirq.c                  |  13 ++
 kernel/stop_machine.c             |   2 -
 kernel/trace/trace.c              |  14 +-
 23 files changed, 213 insertions(+), 331 deletions(-)

Thanks,

Ingo

#2 lore raw
Quoted 103 lines · Ingo Molnar
Quoted 91 lines · Ingo Molnar

Linus,

Please pull the latest sched/core git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2022-05-23

   # HEAD: 991d8d8142cad94f9c5c05db25e67fa83d6f772a topology: Remove unused cpu_cluster_mask()

Scheduler changes in this cycle were:

- Updates to scheduler metrics:

- PELT fixes & enhancements
- PSI fixes & enhancements
- Refactor cpu_util_without()

- Updates to instrumentation/debugging:

- Remove sched_trace_*() helper functions - can be done via debug info
- Fix double update_rq_clock() warnings

- Introduce & use "preemption model accessors" to simplify some of the Kconfig complexity.

- Make softirq handling RT-safe.

- Misc smaller fixes & cleanups.

Thanks,

Ingo

------------------>
Chengming Zhou (3):
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq sched/fair: Delete useless condition in tg_unthrottle_up() sched/psi: report zeroes for CPU full at the system level

Dietmar Eggemann (4):
sched/fair: Refactor cpu_util_without() sched/fair: Remove sched_trace_*() helper functions sched/fair: Remove cfs_rq_tg_path()
topology: Remove unused cpu_cluster_mask()

Hailong Liu (1):
psi: Fix trigger being fired unexpectedly at initial

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

Peter Zijlstra (1):
sched: Reverse sched_class layout

Sebastian Andrzej Siewior (1):
smp: Make softirq handling RT safe in flush_smp_call_function_queue()

Tao Zhou (1):
sched/fair: Revise comment about lb decision matrix

Thomas Gleixner (2):
sched: Fix missing prototype warnings
smp: Rename flush_smp_call_function_from_idle()

Valentin Schneider (5):
preempt/dynamic: Introduce preemption model accessors
kcsan: Use preemption model accessors
ftrace: Use preemption model accessors for trace header printout
MAINTAINERS: Add myself as scheduler topology reviewer
mailmap: Update my email address to @redhat.com

zgpeng (1):
sched/fair: Move calculate of avg_load to a better location

 .mailmap                          |   1 +
 Documentation/accounting/psi.rst  |   9 +-
 MAINTAINERS                       |   1 +
 include/asm-generic/vmlinux.lds.h |  12 +-
 include/linux/interrupt.h         |   9 ++
 include/linux/sched.h             |  57 ++++++--
 include/linux/topology.h          |   7 -
 kernel/kcsan/kcsan_test.c         |   5 +-
 kernel/sched/build_policy.c       |   2 +
 kernel/sched/build_utility.c      |   1 +
 kernel/sched/core.c               |  35 +++--
 kernel/sched/deadline.c           |  15 +-
 kernel/sched/fair.c               | 292 +++++++++-----------------------------
 kernel/sched/idle.c               |   2 +-
 kernel/sched/pelt.h               |   4 +-
 kernel/sched/psi.c                |  18 ++-
Quoted 8 lines
 kernel/sched/rt.c                 |   5 +-
 kernel/sched/sched.h              |  55 ++++---
 kernel/sched/smp.h                |   6 +
 kernel/smp.c                      |  32 +++--
 kernel/softirq.c                  |  13 ++
 kernel/stop_machine.c             |   2 -
 kernel/trace/trace.c              |  14 +-
 23 files changed, 266 insertions(+), 331 deletions(-)
Quoted 5 lines

Note that the above is a v5.18 based shortlog and diffstat, but because the RCU tree deep-merged one of the scheduler commits that introduced better, Kconfig-invariant preemption model accessors:

cfe43f478b79 preempt/dynamic: Introduce preemption model accessors

Ah, this one:

cfe43f478b79 ("preempt/dynamic: Introduce preemption model accessors")

Please accept my apologies for the disruption. This commit was needed to be able to properly handle CONFIG_PREEMPT_DYNAMIC=y kernels booting with preempt=none or preempt=voluntary. But I should have called this out in my pull request, and failed to do so. Again, please accept my apologies for the disruption.

Thanx, Paul

Quoted 75 lines

... and you merged the RCU tree already, so you'll get this shortlog & diffstat:

=============>
Chengming Zhou (3):
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq sched/fair: Delete useless condition in tg_unthrottle_up() sched/psi: report zeroes for CPU full at the system level

Dietmar Eggemann (4):
sched/fair: Refactor cpu_util_without() sched/fair: Remove sched_trace_*() helper functions sched/fair: Remove cfs_rq_tg_path()
topology: Remove unused cpu_cluster_mask()

Hailong Liu (1):
psi: Fix trigger being fired unexpectedly at initial

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

Ingo Molnar (1):
Merge tag 'v5.18-rc5' into sched/core to pull in fixes & to resolve a conflict

Peter Zijlstra (1):
sched: Reverse sched_class layout

Sebastian Andrzej Siewior (1):
smp: Make softirq handling RT safe in flush_smp_call_function_queue()

Tao Zhou (1):
sched/fair: Revise comment about lb decision matrix

Thomas Gleixner (2):
sched: Fix missing prototype warnings
smp: Rename flush_smp_call_function_from_idle()

Valentin Schneider (4):
kcsan: Use preemption model accessors
ftrace: Use preemption model accessors for trace header printout
MAINTAINERS: Add myself as scheduler topology reviewer
mailmap: Update my email address to @redhat.com

zgpeng (1):
sched/fair: Move calculate of avg_load to a better location

 .mailmap                          |   1 +
 Documentation/accounting/psi.rst  |   9 +-
 MAINTAINERS                       |   1 +
 include/asm-generic/vmlinux.lds.h |  12 +-
 include/linux/interrupt.h         |   9 ++
 include/linux/sched.h             |  16 +--
 include/linux/topology.h          |   7 -
 kernel/kcsan/kcsan_test.c         |   5 +-
 kernel/sched/build_policy.c       |   2 +
 kernel/sched/build_utility.c      |   1 +
 kernel/sched/core.c               |  23 +--
 kernel/sched/deadline.c           |  15 +-
 kernel/sched/fair.c               | 292 +++++++++-----------------------------
 kernel/sched/idle.c               |   2 +-
 kernel/sched/pelt.h               |   4 +-
 kernel/sched/psi.c                |  18 ++-
 kernel/sched/rt.c                 |   5 +-
 kernel/sched/sched.h              |  55 ++++---
 kernel/sched/smp.h                |   6 +
 kernel/smp.c                      |  32 +++--
 kernel/softirq.c                  |  13 ++
 kernel/stop_machine.c             |   2 -
 kernel/trace/trace.c              |  14 +-
 23 files changed, 213 insertions(+), 331 deletions(-)

Thanks,

Ingo

#3 lore raw
Quoted 10 lines · Paul E. McKenney
Quoted 7 lines
Quoted 1 line
 23 files changed, 266 insertions(+), 331 deletions(-)

Note that the above is a v5.18 based shortlog and diffstat, but because the RCU tree deep-merged one of the scheduler commits that introduced better, Kconfig-invariant preemption model accessors:

cfe43f478b79 preempt/dynamic: Introduce preemption model accessors

Ah, this one:

Quoted 7 lines

cfe43f478b79 ("preempt/dynamic: Introduce preemption model accessors")

Please accept my apologies for the disruption. This commit was needed to be able to properly handle CONFIG_PREEMPT_DYNAMIC=y kernels booting with preempt=none or preempt=voluntary. But I should have called this out in my pull request, and failed to do so. Again, please accept my apologies for the disruption.

No problem - Linus pulled the scheduler tree and all is good now I think.

Thanks,

Ingo

merge bot Merged
#4 lore raw
In reply to Ingo Molnar
The pull request you sent on Mon, 23 May 2022 19:02:19 +0200:

The pull request you sent on Mon, 23 May 2022 19:02:19 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2022-05-23

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6f3f04c19074972ea12edeed23b07a32894e9e03

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html