[PATCH v7 4/8] powerpc/smp: Introduce CONFIG_SCHED_MC to guard MC scheduling bits
Geert Uytterhoeven
geert at linux-m68k.org
Wed Oct 15 02:04:55 AEDT 2025
Hi Peter,
On Tue, 14 Oct 2025 at 16:18, Peter Zijlstra <peterz at infradead.org> wrote:
> On Tue, Oct 14, 2025 at 02:37:11PM +0200, Geert Uytterhoeven wrote:
> > > > > + help
> > > > > + Improves the CPU scheduler's decision making when dealing with
> > > > > + MultiThreading at a cost of slightly increased overhead in some
> > > > > + places. If unsure say N here.
> > > >
> > > > So it should default to n?
> > >
> > > That's just help text that got carried around. Many of the architectures
> > > that had default y still had this text on. I suppose we can change it if
> > > someone cares.
> >
> > Please do so.
>
> How about we remove the recommendation like so? There are many help
> things that do not have a recommendation. Mostly these options add a
> little code and the most expensive bits tend to be gated by
> static_branch() so it really shouldn't be that bit of a burden.
>
> CONFIG_SMP was the big one for the scheduler, and Ingo recently removed
> that (he did an effective unifdef CONFIG_SMP=y on the scheduler code).
>
> ---
> diff --git a/arch/Kconfig b/arch/Kconfig
> index ebe08b9186ad..3d8e2025a4ac 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -57,7 +57,7 @@ config SCHED_SMT
> help
> Improves the CPU scheduler's decision making when dealing with
> MultiThreading at a cost of slightly increased overhead in some
> - places. If unsure say N here.
> + places.
>
> config SCHED_CLUSTER
> bool "Cluster scheduler support"
> @@ -77,7 +77,7 @@ config SCHED_MC
> help
> Multi-core scheduler support improves the CPU scheduler's decision
> making when dealing with multi-core CPU chips at a cost of slightly
> - increased overhead in some places. If unsure say N here.
> + increased overhead in some places.
>
> # Selected by HOTPLUG_CORE_SYNC_DEAD or HOTPLUG_CORE_SYNC_FULL
> config HOTPLUG_CORE_SYNC
Thanks, LGTM!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the Linuxppc-dev
mailing list