From nobody Tue Dec 14 05:12:51 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 8599318DCE5A; Tue, 14 Dec 2021 05:12:52 +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 4JCmjJ0nB2z4RK4; Tue, 14 Dec 2021 05:12:52 +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 EF0322258F; Tue, 14 Dec 2021 05:12:51 +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 1BE5CpOH073647; Tue, 14 Dec 2021 05:12:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BE5Cpvr073646; Tue, 14 Dec 2021 05:12:51 GMT (envelope-from git) Date: Tue, 14 Dec 2021 05:12:51 GMT Message-Id: <202112140512.1BE5Cpvr073646@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Doug Moore Subject: git: 0848451a2ee5 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 0848451a2ee5da154f0c4b975697102be4f349f2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639458772; 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=qeJJAmmm2x7kjr9OUmgw1YmNIx7VOIvNnrysbMgjA/k=; b=EOpRmMZ8ulx5Npx47EPQ4UfPDZqUHldTH8NDgf4JESbdb1dBznazno34bVWx7MUqBWu07J OBS+nvz/0/fV/ewOIvZx4jk4uwOgS8NDNkKjst/szTs8Si51kDgQg8+tPuZdAaw53j+8aE vMdgcmv/W3nZtmg08Rz3HFbuDwZwq/GGeF5kEoU+SQVIc9RsorpcJRpWzYoftvc8YlV0TW KmwunsUN1XWW/IHGmat+vmdON5Z19CMTRLmDMbobOPhv2xpPPhPOhUbPJU5vb2g11xGQ65 B+PM5XuVb6DL4G8UZ4M+DBLvQ9Phi0pTADCy2C8kug7Lqt2J2F4Yk1tndUDpZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639458772; a=rsa-sha256; cv=none; b=PYdffO8veiNhe/0lSOrlwbkmw+D9cPhDKY36qFWx/Wksziqz9OK4g9SH/ih2YgGAoaKNe1 ngk8sT15fx/Fs6sQE1BRmvSwdUlV3S+FcE06+5XeIv1AqjcC5bRiZTSVrK/g13w39diUV9 gJTcJAGfFJuxZmsxjmmH5sQKNfWMTRAabO6s3rly6ymyN3QYVbY0hwv1GNIaJ5h5txplY4 JGSwLKcWsKGQNXB4yLh3N/0Z11cPFFjqx8HMKbDpYIOlTy4hZTH1NoeYjzKIXm94paaUYH 13qdXkrIZTEByh2txbQC16ZSBGhdGvafUdIguEvJJEyE7CjLAX5uWM2u+Myl7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=0848451a2ee5da154f0c4b975697102be4f349f2 commit 0848451a2ee5da154f0c4b975697102be4f349f2 Author: Doug Moore AuthorDate: 2021-12-05 23:17:25 +0000 Commit: Doug Moore CommitDate: 2021-12-14 05:09:13 +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 (cherry picked from commit 9f32cb5b1c81ceed28491c031cd109811a5f5d7a) --- 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); }