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
F174281325: D54100.diff
Fri, Oct 2, 12:11 AM
F174243283: D54100.diff
Thu, Oct 1, 4:16 PM
Unknown Object (File)
Wed, Sep 30, 12:35 PM
Unknown Object (File)
Mon, Sep 14, 10:48 PM
Unknown Object (File)
Sun, Sep 13, 3:47 PM
Unknown Object (File)
Fri, Sep 11, 8:09 PM
Unknown Object (File)
Aug 22 2026, 9:16 AM
Unknown Object (File)
Aug 21 2026, 2:58 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