Date: Thu, 8 Feb 2018 14:29:46 -0800 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Jeff Roberson <jeff@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: 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 Message-ID: <20180208222946.GQ1063@FreeBSD.org> In-Reply-To: <201802080752.w187qVHJ051135@repo.freebsd.org> References: <201802080752.w187qVHJ051135@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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> URL: https://svnweb.freebsd.org/changeset/base/329014 J> 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(): https://github.com/glebius/FreeBSD/commit/3efe96908c8a8d7f396e9dfc71b91b0a6592b8b7 -- Gleb Smirnoff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180208222946.GQ1063>