Skip to content

Commit 241c307

Browse files
committed
sched/smp: Use the SMP version of ENQUEUE_MIGRATED
Simplify the scheduler by making the CONFIG_SMP-only ENQUEUE_MIGRATED flag unconditional. 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-42-mingo@kernel.org
1 parent 0203244 commit 241c307

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

kernel/sched/sched.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,11 +2319,7 @@ extern const u32 sched_prio_to_wmult[40];
23192319

23202320
#define ENQUEUE_HEAD 0x10
23212321
#define ENQUEUE_REPLENISH 0x20
2322-
#ifdef CONFIG_SMP
23232322
#define ENQUEUE_MIGRATED 0x40
2324-
#else
2325-
#define ENQUEUE_MIGRATED 0x00
2326-
#endif
23272323
#define ENQUEUE_INITIAL 0x80
23282324
#define ENQUEUE_MIGRATING 0x100
23292325
#define ENQUEUE_DELAYED 0x200

0 commit comments

Comments
 (0)