From nobody Fri Jan 20 03:23:22 2023 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 4NylFQ6z4rz30vfD; Fri, 20 Jan 2023 03:23:22 +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 4NylFQ4G0Zz3mmX; Fri, 20 Jan 2023 03:23:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674185002; 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=G0DazLaKvHUWR0lyHnk5N9+KcwbbL5p112IPAmweEDk=; b=bVY9Wa3sHtAiUQZhIJ/9fjvgm5G39n/1G7iykoY8QzfN1yIpPbMT35P1a4J+eX9hp/911W +VuRoSiBp3hKLQv1cyGDAdX+zoc6K1CsSAegW17yMDsqEu9/jTykm39pbWA2cLN1+sYpXD YIVAQPHHn3KyQ3NKza3uxcYHKfdQq+2GguXRBvBRY7KibNBTZFj5HVVhJPSKDy0SyB7HMf aLkwXgiQHXXXgZfTk+Xyi1afYbcXNVCiMRRqtUoVA2NTzR2rzrwudl1Qth7TTQs4xfngZa SEyZLnOmAgwAt8C51o2eDKDG3stcLgNOncHHedgesti8SfApF/TUFopSN7FMbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674185002; 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=G0DazLaKvHUWR0lyHnk5N9+KcwbbL5p112IPAmweEDk=; b=dPu7pBNqAZidV5sx9Up15SLNjez7AFQ/2VvLNkERI8ct/A9KUwowC/glW0KM48neHINbW1 LLfoKUiIUQ74AJjrxBYpzjkiJK1lcRhM5LEHVNJUf10Xybbx0TiBs/AbrIAHPEoYPVSzv4 oVM5QO4SeDKmmWxpZxGLPBVFib2Ik5koZttBByz7cGt0SIcLPAup6qJbOk5BHxXlO37Qhi grqlU3LwMMmfX9bljtTDp0nh0KORb//s4bKdp5zEExR9f5B5ta2mOsbMZL6O7dBhSmJV5V HHBpVm2SbgDu9SK/x6/r99zKBYl+KcR8vSRGgS0LqrDhxiF+sqtRzjaOEeT4Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674185002; a=rsa-sha256; cv=none; b=XgNKmZcTUIyv/i/lzbtCjKskdcGDx2LgQr2QgeS0wL16SrO17HC8ZGiTQKK9V+iwWXooRf +qnYDDtwvo4/gqGuabYskemGj+uxXzXfPKA29VpoZQ59i7zOBY1un3iFPjzr7To7MewYVC fSk4AUjlHFHnl+nbl3X/MHfvfdPxMFFuSLB6Mg0UZeT2mzvK6N3dtHxBhtu0yQAsYL4CJ1 7smstNLQSibdSSLPg+mya6idlhDtDGZ9mLVMX4rAun0prnrTVGI6fEqTR0mx6L9d2Ii/Qf tfXKGgbZyllF62tPJU+YBes0cCsT8RB2N/9d5v9ODcAVcQk2pbzdUuGIOi5Jrg== 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 4NylFQ3KH3zGDJ; Fri, 20 Jan 2023 03:23:22 +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 30K3NMSj042061; Fri, 20 Jan 2023 03:23:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30K3NMt6042060; Fri, 20 Jan 2023 03:23:22 GMT (envelope-from git) Date: Fri, 20 Jan 2023 03:23:22 GMT Message-Id: <202301200323.30K3NMt6042060@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 8fa2644171ce - stable/13 - uiomove_object: hide diagnostic under bootverbose 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8fa2644171cea455dbe8e24e7a0902066c3cf1b7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8fa2644171cea455dbe8e24e7a0902066c3cf1b7 commit 8fa2644171cea455dbe8e24e7a0902066c3cf1b7 Author: Konstantin Belousov AuthorDate: 2022-10-23 11:36:17 +0000 Commit: Konstantin Belousov CommitDate: 2023-01-20 03:18:49 +0000 uiomove_object: hide diagnostic under bootverbose Tested by: pho (cherry picked from commit 7ec4b29b086b67b8c778d2bc50c90e9e0655c03e) --- sys/kern/uipc_shm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c index 2bd7c3a038df..4f06d9bea40e 100644 --- a/sys/kern/uipc_shm.c +++ b/sys/kern/uipc_shm.c @@ -221,8 +221,10 @@ uiomove_object_page(vm_object_t obj, size_t len, struct uio *uio) VM_ALLOC_NORMAL | VM_ALLOC_SBUSY | VM_ALLOC_IGN_SBUSY); if (rv != VM_PAGER_OK) { VM_OBJECT_WUNLOCK(obj); - printf("uiomove_object: vm_obj %p idx %jd pager error %d\n", - obj, idx, rv); + if (bootverbose) { + printf("uiomove_object: vm_obj %p idx %jd " + "pager error %d\n", obj, idx, rv); + } return (EIO); } VM_OBJECT_WUNLOCK(obj);