Date: Tue, 27 Mar 2018 03:27:02 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331605 - head/sys/vm Message-ID: <201803270327.w2R3R2f9030318@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jeff Date: Tue Mar 27 03:27:02 2018 New Revision: 331605 URL: https://svnweb.freebsd.org/changeset/base/331605 Log: 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 Modified: head/sys/vm/vm.h head/sys/vm/vm_phys.h Modified: head/sys/vm/vm.h ============================================================================== --- head/sys/vm/vm.h Tue Mar 27 01:02:42 2018 (r331604) +++ head/sys/vm/vm.h Tue Mar 27 03:27:02 2018 (r331605) @@ -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); Modified: head/sys/vm/vm_phys.h ============================================================================== --- head/sys/vm/vm_phys.h Tue Mar 27 01:02:42 2018 (r331604) +++ head/sys/vm/vm_phys.h Tue Mar 27 03:27:02 2018 (r331605) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803270327.w2R3R2f9030318>