cpumask_bits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpumask_bits β€” Kernel API Manual πŸ’…

🌸 NAME 🌸

cpumask_bits β€” get the bits in a cpumask


✨ SYNOPSIS ✨

cpumask_bits (maskp );

πŸŽ€ ARGUMENTS πŸŽ€

  • maskp β€” the struct cpumask *, bestie. That’s the mask we’re pulling bits from πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so listen: you should only assume nr_cpu_ids bits of this mask are valid. No cap. That’s the vibe check on how many bits you can trust here.

Also real talk β€” this is a macro, so it’s const-correct. Slay for type safety, honestly πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./include/linux/cpumask_types.h

source vibes: ./include/linux Β· date: October 2026 Β· page: cpumask_bits(9) β€” bye bestie, go read those bits πŸ’‹βœ¨

πŸ“¦ where this page comes from