svn commit: r329014 - in user/jeff/numa/sys: amd64/amd64 arm/arm arm64/arm64 compat/linprocfs compat/linux i386/i386 kern mips/mips powerpc/booke powerpc/powerpc riscv/riscv sparc64/sparc64 sys vm

Gleb Smirnoff glebius at
Thu Feb 8 22:29:55 UTC 2018

On Thu, Feb 08, 2018 at 07:52:31AM +0000, Jeff Roberson wrote:
J> Author: jeff
J> Date: Thu Feb  8 07:52:30 2018
J> New Revision: 329014
J> Log:
J>   Use a per-cpu counter for v_wire_count


J> -SYSINIT(counter, SI_SUB_CPU, SI_ORDER_FOURTH + 1, vmcounter_startup, NULL);
J> +SYSINIT(counter, SI_SUB_KMEM, SI_ORDER_FIRST, vmcounter_startup, NULL);

Is this enough to get stuff working? When I converted more fields of
vmmeter to counter(9), I needed to hardcode vm_meter_startup() call
into vm_mem_init():

Gleb Smirnoff

More information about the svn-src-user mailing list