[GIT PULL] Scheduler updates for v6.18

From: Ingo Molnar

Date: Fri Sep 26 2025 - 10:17:39 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-2025-09-26

# HEAD: 45b7f780739a3145aeef24d2dfa02517a6c82ed6 sched: Fix some typos in include/linux/preempt.h

( Merge note: we've stopped using Link tags for the purpose of tip-bot
lkml email notifications during the v6.18 development window, and
thus commits applied after September 15-ish only have Links if they
are particularly informative. Commits before that still have the
old-style Link tags. )

Scheduler updates for v6.18:

Core scheduler changes:

- Make migrate_{en,dis}able() inline, to improve performance
(Menglong Dong)

- Move STDL_INIT() functions out-of-line (Peter Zijlstra)

- Unify the SCHED_{SMT,CLUSTER,MC} Kconfig (Peter Zijlstra)

Fair scheduling:

- Defer throttling when tasks exit to user-space, to reduce the
chance & impact of throttle-preemption with held locks and
other resources. (Aaron Lu, Valentin Schneider)

- Get rid of sched_domains_curr_level hack for tl->cpumask(),
as the warning was getting triggered on certain topologies.
(Peter Zijlstra)

Misc cleanups & fixes:

- Header cleanups (Menglong Dong)

- Fix race in push_dl_task() (Harshit Agarwal)

Thanks,

Ingo

------------------>
Aaron Lu (6):
sched/fair: Task based throttle time accounting
sched/fair: Get rid of throttled_lb_pair()
sched/fair: Propagate load for throttled cfs_rq
sched/fair: update_cfs_group() for throttled cfs_rqs
sched/fair: Do not special case tasks in throttled hierarchy
sched/fair: Do not balance task to a throttled cfs_rq

Harshit Agarwal (1):
sched/deadline: Fix race in push_dl_task()

Menglong Dong (4):
arch: Add the macro COMPILE_OFFSETS to all the asm-offsets.c
rcu: Replace preempt.h with sched.h in include/linux/rcupdate.h
sched: Make migrate_{en,dis}able() inline
sched: Fix some typos in include/linux/preempt.h

Peter Zijlstra (3):
sched/fair: Get rid of sched_domains_curr_level hack for tl->cpumask()
sched: Move STDL_INIT() functions out-of-line
sched: Unify the SCHED_{SMT,CLUSTER,MC} Kconfig

Valentin Schneider (3):
sched/fair: Add related data structure for task based throttle
sched/fair: Implement throttle task work and related helpers
sched/fair: Switch to task based throttle model


Kbuild | 13 +-
arch/Kconfig | 38 +++
arch/alpha/kernel/asm-offsets.c | 1 +
arch/arc/kernel/asm-offsets.c | 1 +
arch/arm/Kconfig | 18 +-
arch/arm/kernel/asm-offsets.c | 2 +
arch/arm64/Kconfig | 26 +-
arch/arm64/kernel/asm-offsets.c | 1 +
arch/csky/kernel/asm-offsets.c | 1 +
arch/hexagon/kernel/asm-offsets.c | 1 +
arch/loongarch/Kconfig | 19 +-
arch/loongarch/kernel/asm-offsets.c | 2 +
arch/m68k/kernel/asm-offsets.c | 1 +
arch/microblaze/kernel/asm-offsets.c | 1 +
arch/mips/Kconfig | 16 +-
arch/mips/kernel/asm-offsets.c | 2 +
arch/nios2/kernel/asm-offsets.c | 1 +
arch/openrisc/kernel/asm-offsets.c | 1 +
arch/parisc/Kconfig | 9 +-
arch/parisc/kernel/asm-offsets.c | 1 +
arch/powerpc/Kconfig | 11 +-
arch/powerpc/include/asm/topology.h | 2 +
arch/powerpc/kernel/asm-offsets.c | 1 +
arch/powerpc/kernel/smp.c | 27 +-
arch/riscv/Kconfig | 9 +-
arch/riscv/kernel/asm-offsets.c | 1 +
arch/s390/Kconfig | 8 +-
arch/s390/kernel/asm-offsets.c | 1 +
arch/s390/kernel/topology.c | 20 +-
arch/sh/kernel/asm-offsets.c | 1 +
arch/sparc/Kconfig | 20 +-
arch/sparc/kernel/asm-offsets.c | 1 +
arch/um/kernel/asm-offsets.c | 2 +
arch/x86/Kconfig | 27 +-
arch/x86/kernel/smpboot.c | 8 +-
arch/xtensa/kernel/asm-offsets.c | 1 +
include/linux/preempt.h | 11 +-
include/linux/rcupdate.h | 2 +-
include/linux/sched.h | 118 +++++++++
include/linux/sched/topology.h | 29 +--
include/linux/topology.h | 2 +-
kernel/bpf/verifier.c | 1 +
kernel/sched/core.c | 66 ++---
kernel/sched/deadline.c | 73 ++++--
kernel/sched/fair.c | 489 +++++++++++++++++++++--------------
kernel/sched/pelt.h | 4 +-
kernel/sched/rq-offsets.c | 12 +
kernel/sched/sched.h | 7 +-
kernel/sched/topology.c | 73 ++++--
49 files changed, 686 insertions(+), 496 deletions(-)
create mode 100644 kernel/sched/rq-offsets.c