aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2018-01-12 22:48:23 +0000
committerJeff Roberson <jeff@FreeBSD.org>2018-01-12 22:48:23 +0000
commit3f289c3fcf39b200550e2702068014cdd801d4da (patch)
tree9105f2f717d4e6d5f5dc06d92b4b158e3c831d9e /sys/vm/vm_object.h
parentfe8be58826d91f5b80b50bac161b727bd4ea9846 (diff)
downloadsrc-3f289c3fcf39b200550e2702068014cdd801d4da.tar.gz
src-3f289c3fcf39b200550e2702068014cdd801d4da.zip
Implement 'domainset', a cpuset based NUMA policy mechanism. This allows
userspace to control NUMA policy administratively and programmatically. Implement domainset based iterators in the page layer. Remove the now legacy numa_* syscalls. Cleanup some header polution created by having seq.h in proc.h. Reviewed by: markj, kib Discussed with: alc Tested by: pho Sponsored by: Netflix, Dell/EMC Isilon Differential Revision: https://reviews.freebsd.org/D13403
Notes
Notes: svn path=/head/; revision=327895
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 1edf2d59868d..1e3744ffe24f 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -74,6 +74,7 @@
#include <sys/_mutex.h>
#include <sys/_pctrie.h>
#include <sys/_rwlock.h>
+#include <sys/_domainset.h>
#include <vm/_vm_radix.h>
@@ -102,6 +103,7 @@ struct vm_object {
struct pglist memq; /* list of resident pages */
struct vm_radix rtree; /* root of the resident page radix trie*/
vm_pindex_t size; /* Object size */
+ struct domainset_ref domain; /* NUMA policy. */
int generation; /* generation ID */
int ref_count; /* How many refs?? */
int shadow_count; /* how many objects that this is a shadow for */