From nobody Fri Dec 31 05:34:59 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4232192C110; Fri, 31 Dec 2021 05:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JQDNz4hW4z4VMc; Fri, 31 Dec 2021 05:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7CF6525F51; Fri, 31 Dec 2021 05:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BV5Yx1e032515; Fri, 31 Dec 2021 05:34:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BV5Yxeb032514; Fri, 31 Dec 2021 05:34:59 GMT (envelope-from git) Date: Fri, 31 Dec 2021 05:34:59 GMT Message-Id: <202112310534.1BV5Yxeb032514@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Doug Moore Subject: git: 01e115ab83a4 - main - vm_phys: #include vm_extern List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dougm X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 01e115ab83a4b82216e02198dbcc7c794a752711 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640928899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T9+GViiUAWx9umrg07sd6XUYPwvA/sL8pMNP62vHkyk=; b=HX1dXEmClm6hGEVLXtIoWjZFiAgi4nQe5DHjKKzUvXK2Mdg5zNG4gdd4360XfpgfTEGDdY bpF3JRTu/oGVzZh9ADUufjbztcm8nqeL2+8SYv9wEUbc84dzjmICW+GUiwd06xiaN+uoMx F1pG+t3gOSDRFowaV9gI9fis4u+jxc56YAhK8clAnbw97knWKPvYcYVrzs1VQoit2bMFZq xXm2TIyT0jrAfwzB5PzLPQ7P0gok4T0KtKpBT7p+9dz3FfBgA22kMSno0PIz8DjJIY3LaZ 1psALMAB9xVNmiJklKbuY/rf4fJNrACnlYp6HaT09KlHGtvigkt/+SAm25qqHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640928899; a=rsa-sha256; cv=none; b=uLKOv8KhiWWg5dsex3A0tRrPVR7uSj0q+qxlEcTpmhlo0CSFU9A2pF0RaLVgs+tvsbHkL6 NhZaf0O6cv+yIYnDBEFACl+vxF+RD/kz/kmJDwJqiweEYIkJon+O5BFCBMYi+xd3i1H+d8 6BGSbnlkyVvKXUG/mwnWgKVqvFhgNX62nPOiQO1Eve/rl2IICCAhms4LOCTqRpKuceAy9m ZN3X+Z5RqnLO0f9OKXO3cNA53vixHusknJy/gfkTo0+FiLwV7kKtSt7lnV54ZA9GrIzaf3 cDULD+Sgpa9MNgBCBSVfdvfvih6yJ90WIBpxbOEHZ2Pslz3PJCqQzOcYEmdzpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=01e115ab83a4b82216e02198dbcc7c794a752711 commit 01e115ab83a4b82216e02198dbcc7c794a752711 Author: Doug Moore AuthorDate: 2021-12-31 05:31:18 +0000 Commit: Doug Moore CommitDate: 2021-12-31 05:31:18 +0000 vm_phys: #include vm_extern Arm64 and powerpc don't include vm_extern.h indirectly in vm_phys.c, which means that for the sake of those architectures, it must be included explicitly. Also, fix a set-unused warning that jenkins also found. Reported by: Jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere --- sys/vm/vm_phys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index 9a13fe23c874..51d33d66324f 100644 --- a/sys/vm/vm_phys.c +++ b/sys/vm/vm_phys.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include @@ -1645,10 +1646,10 @@ vm_phys_early_alloc(int domain, size_t alloc_size) * the phys_avail selection below. */ biggestsize = 0; - mem_index = 0; mem_start = 0; mem_end = -1; #ifdef NUMA + mem_index = 0; if (mem_affinity != NULL) { for (i = 0;; i++) { size = mem_affinity[i].end - mem_affinity[i].start;