find_acpi_cp...gy_hetero_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… find_acpi_cpu_topology_hetero_id β€” NAME ✨

okay so bestie, we're in the Kernel API Manual today and the function we're stanning is find_acpi_cpu_topology_hetero_id β€” literally just Get a core architecture tag 🏷️ no cap, that's the whole vibe.


🌸 SYNOPSIS 🌸

int find_acpi_cpu_topology_hetero_id (unsigned int cpu);

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the Kernel logical CPU number, iykyk πŸ–₯️ that's the one you're asking about.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this icon actually does: it determines a unique heterogeneous tag for the given CPU πŸ’«. And fr fr, CPUs with the same implementation should have matching tags β€” like, they're matching, it's giving soulmate energy 🫢.

The returned tag can be used to group peers with identical implementation. basically a little friend group of identical cores πŸ‘―β€β™€οΈ.

The search terminates when a level is found with the identical implementation flag set or we reach a root node 🌳 β€” whichever comes first, she's done.

⚠️ lowkey important caveat: due to limitations in the PPTT data structure, there may be rare situations where two cores in a heterogeneous machine may be identical, but won't have the same tag 😭. not her fault, it's the data structure's fault πŸ’€.

πŸ”₯ RETURN πŸ”₯

  • -ENOENT if the PPTT doesn't exist, or the CPU cannot be found 🚫 (sad, but true).
  • Otherwise returns a value which represents a group of identical cores similar to this CPU βœ¨πŸ‘‘

⭐ SEE ALSO ⭐

Kernel file ./drivers/acpi/pptt.c β€” she's the main character of the source, and here's her whole entourage:


🌈 bestie, everything in this page lives over in ./drivers/acpi β€” that's the directory, the home base, the whole address πŸ’– β€” and this edition is dated October 2026. stay slay, go read your topology tags, periodt πŸ‘‘πŸŽ€πŸ’œ
πŸ“¦ where this page comes from