[PATCH 00/19] sched: Core Scheduling

From: Peter Zijlstra
Date: Thu Apr 22 2021 - 08:38:00 EST


Hai,

This is an agressive fold of all the core-scheduling work so far. I've stripped
a whole bunch of tags along the way (hopefully not too many, please yell if you
feel I made a mistake), including tested-by. Please retest.

Changes since the last partial post is dropping all the cgroup stuff and
PR_SCHED_CORE_CLEAR as well as that exec() behaviour in order to later resolve
the cgroup issue.

Since we're really rather late for the coming merge window, my plan was to
merge the lot right after the merge window.

Again, please test.

These patches should shortly be available in my queue.git.

---
b/kernel/sched/core_sched.c | 229 ++++++
b/tools/testing/selftests/sched/.gitignore | 1
b/tools/testing/selftests/sched/Makefile | 14
b/tools/testing/selftests/sched/config | 1
b/tools/testing/selftests/sched/cs_prctl_test.c | 338 +++++++++
include/linux/sched.h | 19
include/uapi/linux/prctl.h | 8
kernel/Kconfig.preempt | 6
kernel/fork.c | 4
kernel/sched/Makefile | 1
kernel/sched/core.c | 858 ++++++++++++++++++++++--
kernel/sched/cpuacct.c | 12
kernel/sched/deadline.c | 38 -
kernel/sched/debug.c | 4
kernel/sched/fair.c | 276 +++++--
kernel/sched/idle.c | 13
kernel/sched/pelt.h | 2
kernel/sched/rt.c | 31
kernel/sched/sched.h | 393 ++++++++--
kernel/sched/stop_task.c | 14
kernel/sched/topology.c | 4
kernel/sys.c | 5
tools/include/uapi/linux/prctl.h | 8
23 files changed, 2057 insertions(+), 222 deletions(-)