diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2018-01-12 22:48:23 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2018-01-12 22:48:23 +0000 |
commit | 3f289c3fcf39b200550e2702068014cdd801d4da (patch) | |
tree | 9105f2f717d4e6d5f5dc06d92b4b158e3c831d9e /sys/vm/vm_object.h | |
parent | fe8be58826d91f5b80b50bac161b727bd4ea9846 (diff) | |
download | src-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.h | 2 |
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 */ |