The output of cpuset(1) can be confusing, as it refers to a "mask" when printing a list of CPUs. This is especially confusing when printing the affinity of a thread which is bound to CPU 15, CPU 31, etc. It is easy to interpret such a number as a mask, and think that the thread can run on CPUs 0..3 when it is really bound to CPU 15. To remedy the confusion, clarify that we're printing a list, not a bitmask.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 31316
Event Timeline
Comment Actions
I'm on board with the general idea. The manual page sometimes calls it a CPU list as well.
usr.bin/cpuset/cpuset.c | ||
---|---|---|
253 | I would probably go with "CPU" over "cpu", but that's just a nit. |