]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create a cpuset mask for each NUMA domain that is available in the
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 8 Jan 2015 15:53:13 +0000 (15:53 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 8 Jan 2015 15:53:13 +0000 (15:53 +0000)
commitc0ae66888bd4e4dd8ffb8575332540c253bf0af7
treea8c0b10964b6a43594a95c578b257a516b7998a9
parent2303632301d7c68e76b3a9ee3538aaa0d189cfca
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.

Differential Revision: https://reviews.freebsd.org/D1232
Submitted by: jeff (kernel bits)
Reviewed by: adrian, jeff
sys/kern/kern_cpuset.c
sys/sys/cpuset.h
sys/sys/smp.h
sys/x86/acpica/srat.c
usr.bin/cpuset/cpuset.1
usr.bin/cpuset/cpuset.c