1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Move vm_ndomains to vm.h where it can be used with a single header include

rather than requiring a half-dozen.  Many non-vm files may want to know
the number of valid domains.

Sponsored by:	Netflix, Dell/EMC Isilon
This commit is contained in:
Jeff Roberson 2018-03-27 03:27:02 +00:00
parent 19fcbaf142
commit 146bf2c66d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331605
2 changed files with 2 additions and 1 deletions

View File

@ -148,6 +148,8 @@ extern void vm_ksubmap_init(struct kva_md_info *);
extern int old_mlock;
extern int vm_ndomains;
struct ucred;
int swap_reserve(vm_ooffset_t incr);
int swap_reserve_by_cred(vm_ooffset_t incr, struct ucred *cred);

View File

@ -52,7 +52,6 @@ struct mem_affinity {
extern struct mem_affinity *mem_affinity;
extern int *mem_locality;
#endif
extern int vm_ndomains;
struct vm_freelist {
struct pglist pl;