smp_build_mpidr_hash(9)
π smp_build_mpidr_hash(9) π
okay so bestie, you found the smp_build_mpidr_hash man page β part of the Kernel API Manual, no big deal, just a lil kernel function living its best life β¨
π NAME π
smp_build_mpidr_hash β pre-compute the shifts you need at each affinity level so you can build a linear index out of an MPIDR value. the resulting algorithm? a collision free hash that gets carried out through shifting and ORing. yes ma'am, shifting and ORing π
β¨ SYNOPSIS β¨
void smp_build_mpidr_hash (void );
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. it takes nothing and it slays regardless π«Ά
πΈ SEE ALSO πΈ
- Kernel file
./arch/arm64/kernel/setup.cβ go look, it's iconic over there π
and that's the whole vibe, fr fr π this page came to you from ./arch/arm64/kernel, dated October 2026, and it's literally signed smp_build_mpidr_hash(9) β 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