mips_cps_fir...e_in_cluster(9)
π mips_cps_first_online_in_cluster β from the Kernel API Manual, bestie π
Okay so picture this: it's giving "am I the first one here?" energy, but for CPUs. That's literally the whole vibe of this page from the Kernel API Manual (mips_cps_fir...e_in_cluster(9), yes the title is truncated, we don't talk about it π).
β¨ SYNOPSIS β¨
unsigned int mips_cps_first_online_in_cluster (int *first_cpu );
πΈ ARGUMENTS πΈ
first_cpuβ okay so this is the pointer where the answer gets dropped off. On exit it holds the first other online CPU in cluster, ornr_cpu_idsif the function returns true. So like, if you're the first one online, you getnr_cpu_idsin there instead of an actual CPU. No cap, that's just how it is π«Ά
π¦ DESCRIPTION π¦
Determine whether the local CPU is the first to be brought online in its cluster β meaning, are there any other online CPUs hanging out in the local cluster? It's the vibe check: is the group chat empty except for you, or are your besties already here?
Returns true if this CPU is first online, else false. Periodt. π
Lowkey important:truemeans "it's just me in here", and that's also exactly when*first_cpuends up asnr_cpu_idsβ the two facts are besties, iykyk.
π SEE ALSO π
Kernel file ./arch/mips/include/asm/mips-cps.h, plus the whole friend group:
mips_cps_numclusters(9)mips_cps_cluster_config(9)mips_cps_numcores(9)mips_cps_numiocu(9)mips_cps_numvps(9)mips_cps_multicluster_cpus(9)
That's the whole read. Sourced from ./arch/mips/include/asm, stamped October 2026, page mips_cps_fir...e_in_cluster(9) β slay, go be the first online in your cluster bestie, we love that for you β¨ππ§
π¦ 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