[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250528085813.GX39944@noisy.programming.kicks-ass.net>
Date: Wed, 28 May 2025 10:58:13 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Dietmar Eggemann <dietmar.eggemann@....com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Shrikanth Hegde <sshegde@...ux.ibm.com>,
Thomas Gleixner <tglx@...utronix.de>,
Valentin Schneider <vschneid@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>, Mel Gorman <mgorman@...e.de>,
Vincent Guittot <vincent.guittot@...aro.org>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: Re: [PATCH 00/43] sched: Use the SMP scheduler on UP too
On Wed, May 28, 2025 at 10:08:41AM +0200, Ingo Molnar wrote:
> sched/smp: Always define sched_domains_mutex_lock()/unlock(), def_root_domain and sched_domains_mutex
> sched/smp: Make SMP unconditional
> sched/smp: Always define is_percpu_thread() and scheduler_ipi()
> sched/smp: Always define rq->hrtick_csd
> sched/smp: Use the SMP version of try_to_wake_up()
> sched/smp: Use the SMP version of __task_needs_rq_lock()
> sched/smp: Use the SMP version of wake_up_new_task()
> sched/smp: Use the SMP version of sched_exec()
> sched/smp: Use the SMP version of idle_thread_set_boot_cpu()
> sched/smp: Use the SMP version of the RT scheduling class
> sched/smp: Use the SMP version of the deadline scheduling class
> sched/smp: Use the SMP version of scheduler debugging data
> sched/smp: Use the SMP version of schedstats
> sched/smp: Use the SMP version of the scheduler syscalls
> sched/smp: Use the SMP version of sched_update_asym_prefer_cpu()
> sched/smp: Use the SMP version of the idle scheduling class
> sched/smp: Use the SMP version of the stop-CPU scheduling class
> sched/smp: Use the SMP version of cpu_of()
> sched/smp: Use the SMP version of is_migration_disabled()
> sched/smp: Use the SMP version of rq_pin_lock()
> sched/smp: Use the SMP version of task_on_cpu()
> sched/smp: Use the SMP version of WF_ and SD_ flag sanity checks
> sched/smp: Use the SMP version of ENQUEUE_MIGRATED
> sched/smp: Use the SMP version of add_nr_running()
> sched/smp: Use the SMP version of double_rq_clock_clear_update()
You know about unifdef, right :-)
$ unifdef -m -DCONFIG_SMP=y kernel/sched/*.[ch] include/linux/sched.h include/linux/sched/*.h
I'd just run that tool, have changelog include the command and patch be
the effect.
No point in doing this manually bit by bit.
Powered by blists - more mailing lists