smp_cpuid_part(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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