Re: [PATCH] cpufreq: schedutil: Skip busy-CPU hold when NOHZ is disabled
From: Zhan Xusheng
Date: Tue Nov 03 2026 - 02:19:33 EST
Hi Avi,
On Tue, Nov 03, 2026 at 08:15:57AM +0200, Avi Weiss wrote:
> + if (!tick_nohz_enabled)
> + return false;
idle_calls also never moves when nohz is enabled but was never
activated, because tick_check_oneshot_change() found no oneshot clock
event device or no clocksource valid for high resolution. TS_FLAG_NOHZ
then stays clear, as with nohz=off. tick_nohz_is_active() covers both:
if (!tick_nohz_is_active())
return false;
Thanks,
Zhan Xusheng