Skip to contentSkip to conversation

scheduler changes for v4.21

GIT PULL Merged Ingo Molnar 4 participants 5 messages Dec 24, 2018 – Dec 28, 2018

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest sched-core-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus

# HEAD: 732cd75b8c920d3727e69957b14faa7c2d7c3b75 sched/fair: Select an energy-efficient CPU on task wake-up

The main changes in this cycle were:

- Introduce "Energy Aware Scheduling" - by Quentin Perret. This is a coherent topology description of CPUs in cooperation with the PM subsystem, with the goal to schedule more energy-efficiently on assymetric SMP platform - such as waking up tasks to the more energy-efficient CPUs first, as long as the system isn't oversubscribed.

For details of the design, see:

      https://marc.info/?l=linux-kernel&m=153243513908731&w=2

- Misc cleanups and smaller enhancements.

Thanks,

Ingo

------------------>
Ingo Molnar (1):
sched: Fix various typos in comments

Morten Rasmussen (1):
sched/fair: Add over-utilization/tipping point indicator

Muchun Song (2):
sched/core: Introduce set_next_task() helper for better code readability sched/fair: Make some variables static

Patrick Bellasi (2):
sched/fair: Mask UTIL_AVG_UNCHANGED usages sched/fair: Add lsub_positive() and use it consistently

Quentin Perret (11):
sched/topology: Relocate arch_scale_cpu_capacity() to the internal header sched/cpufreq: Prepare schedutil for Energy Aware Scheduling
PM: Introduce an Energy Model management framework sched/topology: Reference the Energy Model of CPUs when available sched/topology: Add lowest CPU asymmetry sched_domain level pointer sched/topology: Disable EAS on inappropriate platforms sched/topology: Make Energy Aware Scheduling depend on schedutil sched/toplogy: Introduce the 'sched_energy_present' static key sched/fair: Clean-up update_sg_lb_stats parameters sched/fair: Introduce an energy estimation helper function sched/fair: Select an energy-efficient CPU on task wake-up

Valentin Schneider (2):
sched/fair: Clean up load_balance() condition sched/fair: Don't increase sd->balance_interval on newidle balance

Vincent Guittot (1):
sched/topology: Remove the ::smt_gain field from 'struct sched_domain'

Viresh Kumar (2):
sched/core: Create task_has_idle_policy() helper sched/core: Clean up the #ifdef block in add_nr_running()

Yangtao Li (1):
sched/core: Remove unnecessary unlikely() in push_*_task()

 drivers/cpufreq/cpufreq.c        |   1 +
 include/linux/cpufreq.h          |   8 +
 include/linux/energy_model.h     | 187 +++++++++++++++++++
 include/linux/sched.h            |   4 +-
 include/linux/sched/cpufreq.h    |   6 +
 include/linux/sched/isolation.h  |   4 +-
 include/linux/sched/mm.h         |   2 +-
 include/linux/sched/stat.h       |   2 +-
 include/linux/sched/topology.h   |  17 +-
 kernel/power/Kconfig             |  15 ++
 kernel/power/Makefile            |   2 +
 kernel/power/energy_model.c      | 201 ++++++++++++++++++++
 kernel/sched/core.c              |   6 +-
 kernel/sched/cpufreq_schedutil.c |  90 +++++++--
 kernel/sched/cputime.c           |   2 +-
 kernel/sched/deadline.c          |  25 ++-
 kernel/sched/debug.c             |   2 +-
 kernel/sched/fair.c              | 385 +++++++++++++++++++++++++++++++++------
 kernel/sched/isolation.c         |  14 +-
 kernel/sched/rt.c                |  28 ++-
 kernel/sched/sched.h             |  97 +++++++---
 kernel/sched/topology.c          | 231 ++++++++++++++++++++++-
 22 files changed, 1179 insertions(+), 150 deletions(-)
 create mode 100644 include/linux/energy_model.h
 create mode 100644 kernel/power/energy_model.c
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 24 Dec 2018 23:45:09 +0100:

The pull request you sent on Mon, 24 Dec 2018 23:45:09 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/17bf423a1f2d134187191f0ceb4b395173cc98a7

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
#2 lore raw
In reply to Ingo Molnar

Hi,

Quoted 18 lines · Ingo Molnar

Linus,

Please pull the latest sched-core-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus

   # HEAD: 732cd75b8c920d3727e69957b14faa7c2d7c3b75 sched/fair: Select an energy-efficient CPU on task wake-up

The main changes in this cycle were:

- Introduce "Energy Aware Scheduling" - by Quentin Perret. This is a coherent topology description of CPUs in cooperation with the PM subsystem, with the goal to schedule more energy-efficiently on assymetric SMP platform - such as waking up tasks to the more energy-efficient CPUs first, as long as the system isn't oversubscribed.

Quoted 5 lines

For details of the design, see:

      https://marc.info/?l=linux-kernel&m=153243513908731&w=2

- Misc cleanups and smaller enhancements.

Looks like my warnings fix never made it in, even after a few pings.

Linus, can you apply directly? Causes warning noise on all !SMP ARM builds:

https://lore.kernel.org/lkml/[email protected]/

Thanks,

-Olof

-Olof

#3 lore raw
Quoted 2 lines · Olof Johansson

Linus, can you apply directly?

Done.

Linus

#4 lore raw
In reply to Olof Johansson
Quoted 25 lines · Olof Johansson

Hi,

Quoted 22 lines · Ingo Molnar

Linus,

Please pull the latest sched-core-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus

   # HEAD: 732cd75b8c920d3727e69957b14faa7c2d7c3b75 sched/fair: Select an energy-efficient CPU on task wake-up

The main changes in this cycle were:

- Introduce "Energy Aware Scheduling" - by Quentin Perret. This is a coherent topology description of CPUs in cooperation with the PM subsystem, with the goal to schedule more energy-efficiently on assymetric SMP platform - such as waking up tasks to the more energy-efficient CPUs first, as long as the system isn't oversubscribed.

For details of the design, see:

      https://marc.info/?l=linux-kernel&m=153243513908731&w=2
Quoted 7 lines
Quoted 1 line

- Misc cleanups and smaller enhancements.

Looks like my warnings fix never made it in, even after a few pings.

Linus, can you apply directly? Causes warning noise on all !SMP ARM builds:

https://lore.kernel.org/lkml/[email protected]/

Thanks and sorry about that!

Ingo