Re: [RFC PATCH] sched/fair: Skip PELT on !CONFIG_SMP
From: Mehmet Fide
Date: Sun Nov 29 2026 - 14:32:55 EST
Hi Christian,
> We can still use them for DVFS, i.e. schedutil, can't we?
Not with CONFIG_SMP=n: CPU_FREQ_GOV_SCHEDUTIL still depends on SMP, so
such a kernel has no schedutil. If that dependency is dropped, the
skip would have to follow schedutil instead of SMP.
> Besides, the entire point of the commit was to get rid of the SMP ifdeffery
> and this is introducing them in a worse way.
I went by the cover letter of the series, which asked for UP
improvements through "well-placed IS_ENABLED(CONFIG_SMP) kind of
toggles". If seven of them in fair.c are too many for 7-22 % on the
round trips of a UP board, is there a form you would accept?
Mehmet