find_acpi_cp...logy_package(9)
okay bestie, this is the find_acpi_cpu_topology_package page from the Kernel API Manual, and itβs literally here to help you figure out a CPUβs package vibe π
β¨
π NAME π
find_acpi_cpu_topology_package β determine a unique CPU package value π
β¨ SYNOPSIS β¨
int find_acpi_cpu_topology_package (unsigned int cpu );
πΈ ARGUMENTS πΈ
cpuβ the kernel logical CPU number, bestie π§
π¦ DESCRIPTION π¦
So the goal here is to determine a topology unique package ID for the given CPU. That ID can then be used to group peers, and those peers will have matching ids πβ¨
The search stops when either a level is found with the PHYSICAL_PACKAGE flag set, or we reach a root node. periodt π«Ά
π₯ RETURN π₯
It returns -ENOENT if the PPTT doesnβt exist, or if the CPU cannot be found π
Otherwise, it returns a value which represents the package for this CPU. slay π
π SEE ALSO π
Kernel file: ./drivers/acpi/pptt.c π
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_cluster(9)find_acpi_cpu_topology_hetero_id(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)
source/version: ./drivers/acpi Β· date: October 2026 β iconic little footer moment, no cap πππ«
π¦ 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