From nobody Thu Apr 14 19:49:09 2022 X-Original-To: dev-commits-src-main@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 911471B35550; Thu, 14 Apr 2022 19:49: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 4KfVQY3K4lz4mQ0; Thu, 14 Apr 2022 19:49:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649965749; 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=ZHpsy6eObzVjYvJef/JFwMHYE7jesgPDKg/CDtI/cnE=; b=RE14xdynBzdZyOvxsE4s5JZqW12QEwqW0xYQ0i4InNrJR+sYxudVyAD7UKXzvarhKQ8RMO O4Wc4PUV2TrVbSIz/+PlQVWzNHZHAmaqtxmtrJctDa3AzKlmcT6PuQ9yCX0VaSkvEUzi/x D1LMX153PvM2+l1/d2R05OGSceE97izdsQ7oiRINA4jV8KJVvJhODQ2r2gi11yfPvs7XNw UfPzeEM2wHWm8UR5wxXmk5Qc1IqVCgO9JnUWhBCzBJbY0KgCcgzdu2FvoSYpqtisb4cQAb xXsGPAcr9R4Og2gN52Ns8+UVQ7E9cT/B65gCo15kZqDG2u0DhVU5GU12GmaKxA== 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 36D3A26BE6; Thu, 14 Apr 2022 19:49: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 23EJn95G054679; Thu, 14 Apr 2022 19:49:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23EJn95H054678; Thu, 14 Apr 2022 19:49:09 GMT (envelope-from git) Date: Thu, 14 Apr 2022 19:49:09 GMT Message-Id: <202204141949.23EJn95H054678@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: f82177b8cfd2 - main - vm: Initialize the transient buffer mapping arena with M_WAITOK List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f82177b8cfd2269aed060fe72e672ad4115ec8c3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649965749; 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=ZHpsy6eObzVjYvJef/JFwMHYE7jesgPDKg/CDtI/cnE=; b=RKgK1dt0UjG1BYy0985CfE3D0u0eA1xNznUh5asczDPvIG7I3S2w0bJo8hNy3TmxkfhVjJ EUdu1y5ieh3l53n5GSpnzlUCKS+jUUF74c1nrqWJp58Fh2l6X81Rr9bEEOC72DukdBwZB/ 6knHSnnt1PznLgd/k2nabm88pcafrTl/ib3fmePHSWT1RyFRGJnuLVdVKN5xxEnG5X9O/T B43CsvaElYqSD3reJ22hF3CfZjxCmEdhkIutwhSO1w2N+XOmxkUUroBhClnS9RlHQGgLqs b3NSK6chwGXtpyPHfOKyiuqeUEgR3KJLKG9Kx8DfCtk4cWntau6Rvk8xQQSXsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649965749; a=rsa-sha256; cv=none; b=YZ68ud2Quoso76sFsKhBs5UE8zqSvNqHkMlhX7oI9n3Exp8OJ7x05+ZZfNtTCBtpUjhoYd RuwJtm7XMBOtvZyQqAwKFXhfjD5ik8D+yw8ab4w7jujkagI5916ocEdTcmpw/UaMQqMYj8 2ja4xrVVuk5s1doE4+5LoVlEHWAaOCbND6zp3sRKEIs7u3sW/pw+Dp4s5GhT0qDV0lqa3o 5QoeWCHy682BfOT5HQopwAascAxD/xM/ZBxAaonsAYieqgIFRcuLcaBDb2p5q1zbB3Yh/P nMDaP+KB772A6HJ/BLP/QeAHMwmizZQKE0U7uIbtSkSqpnUHNrAmCxPy4kep3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f82177b8cfd2269aed060fe72e672ad4115ec8c3 commit f82177b8cfd2269aed060fe72e672ad4115ec8c3 Author: Mark Johnston AuthorDate: 2022-04-14 19:46:14 +0000 Commit: Mark Johnston CommitDate: 2022-04-14 19:46:14 +0000 vm: Initialize the transient buffer mapping arena with M_WAITOK The wait flag is passed to UMA when allocating boundary tags for the initial span, and UMA expects either M_WAITOK or M_NOWAIT to be present. Reported by: cperciva MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/vm/vm_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index cd86ee2192c2..47b1eebbe139 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -235,7 +235,7 @@ again: if (bio_transient_maxcnt != 0) { size = (long)bio_transient_maxcnt * maxphys; vmem_init(transient_arena, "transient arena", - firstaddr, size, PAGE_SIZE, 0, 0); + firstaddr, size, PAGE_SIZE, 0, M_WAITOK); firstaddr += size; } if (firstaddr != kmi->clean_eva)