Page MenuHomeFreeBSD

cpuset: note that -c is valid with the first two forms as well
Needs ReviewPublic

Authored by kevans on Dec 6 2025, 4:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 10:07 AM
Unknown Object (File)
Apr 11 2026, 11:30 AM
Unknown Object (File)
Apr 11 2026, 1:55 AM
Unknown Object (File)
Apr 8 2026, 2:12 AM
Unknown Object (File)
Apr 7 2026, 1:13 AM
Unknown Object (File)
Apr 6 2026, 5:57 AM
Unknown Object (File)
Apr 4 2026, 10:18 PM
Unknown Object (File)
Mar 25 2026, 6:25 AM
Subscribers

Details

Reviewers
olce
markj
Group Reviewers
manpages
Summary

In the cmd form, we create a setid (or use -s) and set the affinity. We
set the affinity on the process anonymous mask if -c is not specified,
and on the newly created cpuset if it is.

The -p form is self-explanatory, altering the affinity on either the
-s specified set or the process' current set.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69097
Build 65980: arc lint + arc unit