Re: [PATCH] sched/pelt: Fix truncation of the PELT period count

From: Hui Su

Date: Thu Oct 22 2026 - 06:23:05 EST


> Probably needs a:
>
> Fixes: a481db34b9be ("sched/fair: Optimize ___update_sched_avg()") # c079629862b2
>
> I would actually favor changing return type to u64. Since
> accumulate_sum() is only called in one place, and that too within an
> 'if' condition, I'm sure compiler can optimize it similarly.

Thanks for the review.

I will use a481db34b9be in v2's Fixes tag and change accumulate_sum() to return u64.

Thanks,
Hui