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)
Sat, Apr 11, 11:30 AM
Unknown Object (File)
Sat, Apr 11, 1:55 AM
Unknown Object (File)
Wed, Apr 8, 2:12 AM
Unknown Object (File)
Tue, Apr 7, 1:13 AM
Unknown Object (File)
Mon, Apr 6, 5:57 AM
Unknown Object (File)
Sat, Apr 4, 10:18 PM
Unknown Object (File)
Wed, Mar 25, 6:25 AM
Unknown Object (File)
Mon, Mar 23, 12:09 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