mips_cps_multicluster_cpus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ mips_cps_multicluster_cpus(9) πŸ¦‹

Okay bestie, welcome to the Kernel API Manual ✨ β€” this page is all about mips_cps_multicluster_cpus, and it’s here to answer one very specific cluster question. πŸ’…

🌸 NAME 🌸

mips_cps_multicluster_cpus β€” detect whether CPUs are in multiple clusters. Iconic. πŸ’–

✨ SYNOPSIS ✨

bool mips_cps_multicluster_cpus (void );

🫢 ARGUMENTS 🫢

void        no arguments

Literally no arguments. Not one. The void is giving β€œI need nothing from you,” and honestly? Respect. 😌

πŸ’– DESCRIPTION πŸ’–

Okay so this function determines whether the system includes CPUs in multiple clusters β€” ie. whether we can treat the system as single-cluster or multi-cluster as far as CPUs are concerned. πŸ‘‘

Important lowkey note: this is slightly different from simply checking whether multiple clusters are present. It is possible for there to be clusters which contain no CPUs, and this function will effectively ignore those. So a cluster with no CPUs in it? Bestie, it’s not part of the CPU spread. 🚫🧚

Returns true if CPUs are spread across multiple clusters, else false. Periodt. βœ…

🌈 SEE ALSO 🌈

Kernel file ./arch/mips/include/asm/mips-cps.h β€” also check out mips_cps_numclusters(9), mips_cps_cluster_config(9), mips_cps_numcores(9), mips_cps_numiocu(9), mips_cps_numvps(9), and mips_cps_first_online_in_cluster(9). It’s giving kernel header deep lore. πŸ“šβœ¨


mwah πŸ’‹ β€” source/version: ./arch/mips/include/asm, date: October 2026. Stay iconic, bestie! πŸŽ€

πŸ“¦ where this page comes from