cpumask_bits(9)
π cpumask_bits β Kernel API Manual π
πΈ NAME πΈ
cpumask_bits β get the bits in a cpumask
β¨ SYNOPSIS β¨
cpumask_bits (maskp );
π ARGUMENTS π
maskpβ thestruct 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
- 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