]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/smp: Make SMP unconditional
authorIngo Molnar <mingo@kernel.org>
Wed, 28 May 2025 08:09:01 +0000 (10:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 13 Jun 2025 06:47:18 +0000 (08:47 +0200)
commitcac5cefbade90ff0bb0b393d301fa3b5234cf056
tree15b5ff17d1801012f6c53498c6320cee6ef086f4
parent5202c25dd17c54cd4c21f266d9a51b644d7cd682
sched/smp: Make SMP unconditional

Simplify the scheduler by making CONFIG_SMP=y primitives and data
structures unconditional.

Introduce transitory wrappers for functionality not yet converted to SMP.

Note that this patch is pretty large, because there's no clear separation
between various aspects of the SMP scheduler, it's basically a huge block
of #ifdef CONFIG_SMP. A fair amount of it has to be switched on for it to
boot and work on UP systems.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20250528080924.2273858-21-mingo@kernel.org
19 files changed:
include/linux/preempt.h
include/linux/sched.h
include/linux/sched/deadline.h
include/linux/sched/idle.h
include/linux/sched/nohz.h
include/linux/sched/topology.h
kernel/sched/build_policy.c
kernel/sched/build_utility.c
kernel/sched/core.c
kernel/sched/cpudeadline.h
kernel/sched/cpupri.h
kernel/sched/deadline.c
kernel/sched/debug.c
kernel/sched/fair.c
kernel/sched/pelt.h
kernel/sched/rt.c
kernel/sched/sched.h
kernel/sched/syscalls.c
kernel/sched/topology.c