[PATCH v3 1/2] arm64: topology: fix arch_freq_get_on_cpu() overflow above 4.19 GHz
Oleg Keri
okerixx at gmail.com
Wed Sep 16 04:23:19 PDT 2026
Hi Dietmar,
On Wed, Sep 16, 2026, Dietmar Eggemann wrote:
> In task scheduler code we use cap_scale(v, s) for CPU capacity related
> scaling.
>
> We could move its definition from private task scheduler include file
> kernel/sched/sched.h to include/linux/topology.h to be able to use it
> also outside the task scheduler?
Fine by me, that reads better than open-coding the shift. Your diff
builds here on arm64 (topology.o and kernel/sched/), so I will fold it
into v4 and add the scheduler maintainers to Cc for the header move.
Since the diff is yours: is a Suggested-by enough, or would you rather
have Co-developed-by and your Signed-off-by on the patch?
Thanks,
Oleg
More information about the linux-arm-kernel
mailing list