topology_is_primary_thread(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to topology_is_primary_thread(9) from the Kernel API Manual πŸ’– this lil function is literally here to check whether a CPU is the primary SMT thread. no cap ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

the whole vibe check is right here πŸ‘‡

bool topology_is_primary_thread (unsigned int cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the CPU to check 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./arch/x86/include/asm/topology.h πŸ‘‘

mwah πŸ’‹ that’s the whole page! brought to you by ./arch/x86/include/asm in October 2026, and yeah, it’s the topology_is_primary_thread(9) manual page signing off πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from