find_acpi_cp...gy_hetero_id(9)
π
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 π₯
-ENOENTif 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:
acpi_pptt_walk_cache(9)acpi_count_levels(9)acpi_pptt_leaf_node(9)acpi_find_processor_node(9)update_cache_properties(9)topology_get_acpi_cpu_tag(9)check_acpi_cpu_flag(9)acpi_get_cache_info(9)cache_setup_acpi(9)acpi_pptt_cpu_is_thread(9)find_acpi_cpu_topology(9)find_acpi_cpu_topology_package(9)find_acpi_cpu_topology_cluster(9)acpi_pptt_get_child_cpus(9)acpi_pptt_get_cpus_from_container(9)find_acpi_cache_level_from_id(9)acpi_pptt_get_cpumask_from_cache_id(9)
π 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
- 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