From nobody Sun Dec 05 23:20:09 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 A2C1818B1D75; Sun, 5 Dec 2021 23:20:09 +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 4J6jG12f49z3txx; Sun, 5 Dec 2021 23:20:09 +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 3749F20DA9; Sun, 5 Dec 2021 23:20:09 +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 1B5NK9ZO094800; Sun, 5 Dec 2021 23:20:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B5NK9aA094797; Sun, 5 Dec 2021 23:20:09 GMT (envelope-from git) Date: Sun, 5 Dec 2021 23:20:09 GMT Message-Id: <202112052320.1B5NK9aA094797@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: 9f32cb5b1c81 - main - Set uninitialized popmap bits in vm_reserv_init 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: 9f32cb5b1c81ceed28491c031cd109811a5f5d7a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638746409; 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=2OhvFsQhL6CWokKOkRjXQ/nqrWKGsSJLIMPukajHhCI=; b=hHHOr65EqYyiOohAICboWxLvV7Ss9YM8rIhilh3m57Ia8L0cgtxm70dK9F/ChTvT5KC3bZ CFJX8feqrW+OstLEoACNzrhLC2I7sxTl9KgfbnvAWmvK7KhynLK33nV0JJq2IBPg6CPZ19 W8M2rUBUQxngPZFG7NytB2BgVVl4bniWZLpqMct854bByQQyslppm+Y1WtBeT66p4u+ZSU Wib9Kk2WjeAkeWZEspl4tKtL5zjo4vOMMo/prILATpyHcZORPXSuK6IVPoAO9KaTB8n0to l8tiZC5ldSYpKesIirtf4RIr61WKBZrzuCugzpvS9UgQj2xVkzT1MV7aTDtOUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638746409; a=rsa-sha256; cv=none; b=TtCzuVaJxZRHgElWNN4UINcgWhlemakbQM44D9M+u4ke6jG0fQA8cL/tIknwwB1mEKabwI OUWtSGlZo+uHaceIdLMdq3cb6aR+H9tN8j6sZDUEzjw0lrNdpQFuuUQO1/wK2pEE2so/Rg fEOPgifDUfWTPWTlCL+6tKtuehm0PWMgHtKYNr5M37eLf1+pEIJfgAFVRwaJsDbO1NK79z CobaYhF65ZthW9PZ4A0vqndT5DW60jFqMR5UaoS6b70G3soohvNLRVOxxy9ubBdLDhAqtY cRf9yeHFMMds9k8qZy4wy6aRG70Ov1l3Iiq5WRHA0Hhvlbv9irCXV0bpBto6XQ== 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=9f32cb5b1c81ceed28491c031cd109811a5f5d7a commit 9f32cb5b1c81ceed28491c031cd109811a5f5d7a Author: Doug Moore AuthorDate: 2021-12-05 23:17:25 +0000 Commit: Doug Moore CommitDate: 2021-12-05 23:17:25 +0000 Set uninitialized popmap bits in vm_reserv_init In vm_reserv_init, set all the marker popmap bits in vm_reserv_init, and not just the bits of the first popmap entry. Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D33258 --- sys/vm/vm_reserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c index a9602c3977df..ca31eac964c0 100644 --- a/sys/vm/vm_reserv.c +++ b/sys/vm/vm_reserv.c @@ -1112,7 +1112,7 @@ vm_reserv_init(void) * partially populated reservation queues. */ rvd->marker.popcnt = VM_LEVEL_0_NPAGES; - for (j = 0; j < NBPOPMAP; j++) + for (j = 0; j < VM_LEVEL_0_NPAGES; j++) popmap_set(rvd->marker.popmap, j); }