[GIT PULL] scheduler changes for v6.4

From: Ingo Molnar
Date: Thu Apr 27 2023 - 16:51:16 EST



Linus,

Please pull the latest sched/core git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2023-04-27

# HEAD: f31dcb152a3d0816e2f1deab4e64572336da197d sched/clock: Fix local_clock() before sched_clock_init()

Scheduler changes for v6.4:

- Allow unprivileged PSI poll()ing

- Fix performance regression introduced by mm_cid

- Improve livepatch stalls by adding livepatch task switching to cond_resched(),
this resolves livepatching busy-loop stalls with certain CPU-bound kthreads.

- Improve sched_move_task() performance on autogroup configs.

- On core-scheduling CPUs, avoid selecting throttled tasks to run

- Misc cleanups, fixes and improvements.

Thanks,

Ingo

------------------>
Aaron Thompson (1):
sched/clock: Fix local_clock() before sched_clock_init()

Domenico Cerasuolo (4):
sched/psi: Rearrange polling code in preparation
sched/psi: Rename existing poll members in preparation
sched/psi: Extract update_triggers side effect
sched/psi: Allow unprivileged polling of N*2s period

Hao Jia (1):
sched/core: Avoid selecting the task that is throttled to run when core-sched enable

Josh Poimboeuf (5):
livepatch: Convert stack entries array to percpu
livepatch: Skip task_call_func() for current task
livepatch,sched: Add livepatch task switching to cond_resched()
vhost: Fix livepatch timeouts in vhost_worker()
sched/core: Make sched_dynamic_mutex static

Libo Chen (1):
sched/fair: Fix inaccurate tally of ttwu_move_affine

Mathieu Desnoyers (1):
sched: Fix performance regression introduced by mm_cid

Schspa Shi (1):
sched/rt: Fix bad task migration for rt tasks

Shrikanth Hegde (1):
sched: Interleave cfs bandwidth timers for improved single thread performance at low utilization

Tom Rix (1):
sched/topology: Make sched_energy_mutex,update static

wuchi (1):
sched/core: Reduce cost of sched_move_task when config autogroup


Documentation/accounting/psi.rst | 4 +
drivers/vhost/vhost.c | 3 +-
include/linux/livepatch.h | 1 +
include/linux/livepatch_sched.h | 29 ++
include/linux/mm_types.h | 82 ++++-
include/linux/psi.h | 2 +-
include/linux/psi_types.h | 43 +--
include/linux/sched.h | 23 +-
include/linux/sched/mm.h | 5 +
kernel/cgroup/cgroup.c | 2 +-
kernel/fork.c | 9 +-
kernel/livepatch/core.c | 1 +
kernel/livepatch/transition.c | 122 +++++--
kernel/sched/clock.c | 3 +
kernel/sched/core.c | 669 ++++++++++++++++++++++++++++++++++++---
kernel/sched/deadline.c | 11 +
kernel/sched/fair.c | 22 +-
kernel/sched/psi.c | 473 ++++++++++++++-------------
kernel/sched/rt.c | 23 ++
kernel/sched/sched.h | 243 ++++++++++++--
kernel/sched/topology.c | 4 +-
21 files changed, 1424 insertions(+), 350 deletions(-)
create mode 100644 include/linux/livepatch_sched.h