amd_hfi_offline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, you opened the amd_hfi_offline(9) page from the Kernel API Manual and honestly? iconic. πŸ’…βœ¨ let’s get into it.

🌸 NAME 🌸

amd_hfi_offline β€” disable workload classification on @cpu πŸ’–

✨ SYNOPSIS ✨

int amd_hfi_offline (unsigned int cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the CPU in which the workload classification will be disabled, bestie. that’s the whole assignment. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what it does: remove cpu from those covered by its HFI instance. lowkey simple, highkey important. periodt. πŸ’…

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰
  • negative error code on failure 😭

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file: ./drivers/platform/x86/amd/hfi/hfi.c
  • struct amd_shmem_info(9)
  • struct amd_hfi_classes(9)
  • struct amd_hfi_cpuinfo(9)
  • amd_hfi_online(9)

shoutout to source/version ./drivers/platform/x86/amd/hfi, dated October 2026, for this amd_hfi_offline(9) page β€” byeee bestie πŸ«ΆπŸ’–πŸŒΈ

πŸ“¦ where this page comes from