smp_cpuid_part(9)
π smp_cpuid_part(9) β Kernel API Manual
okay bestie, welcome to the smp_cpuid_part(9) page β¨ this is a lil kernel manpage from the Kernel API Manual, and honestly? it's short, it's sweet, it's giving minimal icon energy π
β¨ NAME β¨
smp_cpuid_part β return part id for a given cpu π§ββοΈ
like, that's the whole job. you hand it a cpu, it hands you back a part id. no cap. πΈ
β¨ SYNOPSIS β¨
unsigned int smp_cpuid_part (int cpu );
yes that's literally it, one function, unsigned int out, int in π«Ά the type signature stays exactly like that, don't @ me π
β¨ ARGUMENTS β¨
cpuβ the logical cpu id π that's the one you're asking about. logical, bestie. logical. not physical, not "vibes-based", logical. β
β¨ RETURN β¨
it returns the part id of the logical cpu you passed as the argument π so like, you give it cpu, it gives you back that cpu's part id. one in, one out, main character function behaviour fr fr π
β¨ SEE ALSO β¨
- Kernel file
./arch/arm/include/asm/smp_plat.hπ¦ go read it, it's right there, iykyk πβ¨
lowkey a reminder: this page is describing exactly what it says and nothing more, so don't go inventing extra behaviour for it, bestie π the docs said what they said π
and that's the whole vibe check, bestie ππ this lil page is from the kernel source tree at ./arch/arm/include/asm, stamped October 2026 β mwah, slay, 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