[PATCH V2] riscv: export cpu/freq invariant to scheduler
Ley Foon Tan
lftan at kernel.org
Sun Mar 26 23:48:13 PDT 2023
On Fri, Mar 24, 2023 at 1:52 AM Andrew Jones <ajones at ventanamicro.com> wrote:
>
> On Thu, Mar 23, 2023 at 08:39:24PM +0800, Song Shuai wrote:
> > RISC-V now manages CPU topology using arch_topology which provides
> > CPU capacity and frequency related interfaces to access the cpu/freq
> > invariant in possible heterogeneous or DVFS-enabled platforms.
> >
> > Here adds topology.h file to export the arch_topology interfaces for
> > replacing the scheduler's constant-based cpu/freq invariant accounting.
> >
> > Signed-off-by: Song Shuai <suagrfillet at gmail.com>
Thanks for submitting this.
Reviewed-by: Ley Foon Tan <lftan at kernel.org>
Regards
Ley Foon
More information about the linux-riscv
mailing list