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)
Tue, Jan 13, 9:36 AM
Unknown Object (File)
Wed, Jan 7, 9:47 PM
Unknown Object (File)
Tue, Jan 6, 3:18 AM
Unknown Object (File)
Sat, Dec 20, 11:09 AM
Unknown Object (File)
Sat, Dec 20, 2:39 AM
Unknown Object (File)
Thu, Dec 18, 6:01 AM
Unknown Object (File)
Thu, Dec 18, 1:19 AM
Unknown Object (File)
Thu, Dec 18, 12:15 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