2018-12-24 22:46:19

by Ingo Molnar

[permalink] [raw]
Subject: [GIT PULL] scheduler changes for v4.21

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


2018-12-26 23:11:16

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] scheduler changes for v4.21

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

> 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!

--
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

2018-12-27 18:16:44

by Olof Johansson

[permalink] [raw]
Subject: Re: [GIT PULL] scheduler changes for v4.21

Hi,

On Mon, Dec 24, 2018 at 2:45 PM Ingo Molnar <[email protected]> wrote:
>
> 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.

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

2018-12-28 01:54:21

by Linus Torvalds

[permalink] [raw]
Subject: Re: [GIT PULL] scheduler changes for v4.21

On Wed, Dec 26, 2018 at 8:17 PM Olof Johansson <[email protected]> wrote:
>
> Linus, can you apply directly?

Done.

Linus

2018-12-29 01:31:59

by Ingo Molnar

[permalink] [raw]
Subject: Re: [GIT PULL] scheduler changes for v4.21


* Olof Johansson <[email protected]> wrote:

> Hi,
>
> On Mon, Dec 24, 2018 at 2:45 PM Ingo Molnar <[email protected]> wrote:
> >
> > 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.
>
> 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