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)
Wed, Mar 11, 9:55 AM
Unknown Object (File)
Wed, Mar 11, 9:55 AM
Unknown Object (File)
Mon, Mar 2, 12:18 PM
Unknown Object (File)
Jan 23 2026, 2:40 PM
Unknown Object (File)
Jan 22 2026, 11:00 PM
Unknown Object (File)
Jan 22 2026, 5:12 PM
Unknown Object (File)
Jan 20 2026, 10:20 PM
Unknown Object (File)
Jan 15 2026, 10:30 PM
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