Re: [PATCH v2] sched/pelt: Skip redundant decay and divisions when sched_avg is zero

From: Chris Wiseman

Date: Tue Nov 17 2026 - 11:29:05 EST


On Tue, Nov 17, 2026 at 05:09:08PM +0100, Vincent Guittot wrote:
> Yeah it seems that arm64 has optimized div with an early exit when the
> dividend is null so it would be better to always do the div

Sounds like the consensus is to drop the ___update_load_avg() hunk
(and Suggested-by) and roll with just the accumulate_sum() and
update_irq_load_avg() skips in v3.

Thanks,
Chris