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)
Dec 25 2024, 10:45 AM
Unknown Object (File)
Dec 11 2024, 7:06 PM
Unknown Object (File)
Oct 23 2024, 7:33 AM
Unknown Object (File)
Oct 23 2024, 7:33 AM
Unknown Object (File)
Oct 23 2024, 7:19 AM
Unknown Object (File)
Sep 17 2024, 2:48 AM
Unknown Object (File)
Sep 9 2024, 3:18 AM
Unknown Object (File)
Sep 7 2024, 8:44 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