Page MenuHomeFreeBSD

Export per-domain cpusets to userland.
ClosedPublic

Authored by jhb on Nov 26 2014, 3:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jul 26 2025, 6:03 PM
Unknown Object (File)
Jul 25 2025, 10:19 PM
Unknown Object (File)
Jul 25 2025, 8:58 PM
Unknown Object (File)
Jul 10 2025, 2:22 PM
Unknown Object (File)
Jun 15 2025, 12:58 AM
Unknown Object (File)
Jun 9 2025, 3:07 AM
Unknown Object (File)
Jun 6 2025, 2:38 PM
Unknown Object (File)
May 20 2025, 6:28 AM
Subscribers
None

Details

Reviewers
adrian
Summary

Create a cpuset mask for each NUMA domain that is available in the
kernel via the global cpuset_domain[] array. To export these to userland,
add a CPU_WHICH_DOMAIN level that can be used to fetch the mask for a
specific domain. Add a -d flag to cpuset(1) that can be used to fetch
the mask for a given domain.

Submitted by: jeff (kernel bits)

Test Plan

Verify that 'cpuset -gd <n>' works for both domains on a Westmere box.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

jhb retitled this revision from to Export per-domain cpusets to userland..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: adrian.
adrian edited edge metadata.

Superficially - looks good to me.

This revision is now accepted and ready to land.Nov 26 2014, 5:18 PM