STRUCT AMD_HFI_CLASSES(9)
πΈ struct amd_hfi_classes(9) πΈ
okay so bestie, we're in the Kernel API Manual today and the star of the show is struct amd_hfi_classes. she's giving tiny-but-mighty, fr fr π
β¨ NAME β¨
struct amd_hfi_classes β the HFI class capabilities, per CPU, no cap π§’
π¦ SYNOPSIS π¦
struct amd_hfi_classes {
u32 perf;
u32 eff;
};
like, that's the whole struct. two little u32s. she's lowkey minimalist and honestly? obsessed π
π MEMBERS π
perfβ the performance capability, aka her main character stat β¨effβ the power efficiency capability, aka her chill-and-save-energy era πΏ
π DESCRIPTION π
so what is this? it's the capabilities of a logical processor in the ranking table. yes, ranking table β everyone's getting ranked, it's giving talent show π
these capabilities are unitless (no units, no drama, just vibes) and they're specific to each HFI class β so like, don't go comparing across classes, that's not the assignment π
π SEE ALSO π
- the kernel file
./drivers/platform/x86/amd/hfi/hfi.c struct amd_shmem_info(9)π«Άstruct amd_hfi_cpuinfo(9)πamd_hfi_online(9)π₯amd_hfi_offline(9)π
ngl bestie, read the SEE ALSO list before you go poking around β the homies in hfi.c know things π
okay that's the page!! this absolute icon lives over in ./drivers/platform/x86/amd/hfi, dated October 2026, and it is, as always, struct amd_hfi_classes(9). mwah, go slay your kernel work bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms