diff options
author | Song Shuai <[email protected]> | 2023-03-23 20:39:24 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-04-18 20:29:37 -0700 |
commit | c4b52d8b6c1de1e6359bef2d1394d5917940b3dc (patch) | |
tree | 1b1685c01d3966c48b1c0a7a1a45703ca1202f02 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | eb04e72b345b01d192163e012853fb28f433b234 (diff) |
riscv: export cpu/freq invariant to scheduler
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Ley Foon Tan <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Palmer: Fix the whitespace issues.]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions