From nobody Thu Dec 23 08:02:55 2021 X-Original-To: dev-commits-src-branches@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 C4F5A19046C7; Thu, 23 Dec 2021 08:02:55 +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 4JKN3M3hgRz3D93; Thu, 23 Dec 2021 08:02:55 +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 608C54EA6; Thu, 23 Dec 2021 08:02:55 +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 1BN82tH7057026; Thu, 23 Dec 2021 08:02:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BN82tXs057025; Thu, 23 Dec 2021 08:02:55 GMT (envelope-from git) Date: Thu, 23 Dec 2021 08:02:55 GMT Message-Id: <202112230802.1BN82tXs057025@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: 42f18ad1126b - stable/13 - Correct type size format error in KASSERT. Reported by: jenkins Fixes: 6f1c8908272f vm: Don't break vm reserv that can't meet align reqs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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: 42f18ad1126bf119a7b29b7c8561b27f1cffc57c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640246575; 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=5Q2rcmO4LXcqeXbRGVaECCzmXAruWCyBfXCss1SJKbk=; b=gKeVz0wmF9yMXWdqQdxUbW9u9IMSGd5HuXQKaHiDhbj4X+PH2ZWaPFJVZEoq/9/hBBFlfR GZHL6BPw3GR0n+X4PMMggTKoNaQdQO91RfHUgx5ZKoz+mSbWrPyFR9QLXRou90t7cOz7oH kmn9iYtJtJqjQXHJBaXkgkprmTxR3qrV/miq8HOrDFEsbek0Li6lEUjvqFUFbolrW1p8t6 LFmGp5Il+7kjPmgf1C7a3H8yx5RNfNPUtqlwVlbfEp/17gLG6ju3HiOV9GtdXMageTUpG5 kQA9k/RKJUFyRajK+V+rw+yU+zeeFEFCmrOyc30WAPUAwLRi4CkDbTY9l96SbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640246575; a=rsa-sha256; cv=none; b=NYsNcAlLiqJW6LTrN5OIRzAxe3LyDcCxEz0+KBmGng8DRV28GGKhg52auexsWw1kyJQxgU ru6g7DJt1dLalIJFeV2jSW3y8JKlvBCqKvOHpyUNPy3MAxaQqz0Dz3oRJeMYKjkxwP4rJK IFWRbfHItO+2DcPPkJIqGztXnsKPhaSXlTMqyM96+uK6cJPT24ZB9UhLllwAw2pNK3Z8Pc w/sgXmlpDQAbtSqaoOoDvsVcoiXpQx8srpQgz744BB5l1ltb66kJA/WRPsfxHR1OO6hdDf K5qyoL/G72z8+T0U9nRLXbGHaIj4rE2qWha9GnJoLJhVdhIuxDOwG86irF2tEw== 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=42f18ad1126bf119a7b29b7c8561b27f1cffc57c commit 42f18ad1126bf119a7b29b7c8561b27f1cffc57c Author: Doug Moore AuthorDate: 2021-12-16 19:48:58 +0000 Commit: Doug Moore CommitDate: 2021-12-23 08:02:42 +0000 Correct type size format error in KASSERT. Reported by: jenkins Fixes: 6f1c8908272f vm: Don't break vm reserv that can't meet align reqs (cherry picked from commit f7aa44763d20d06c9ea5caf330aca02a8b107a70) --- sys/vm/vm_reserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c index 8b5f316cc420..d578d67dbe59 100644 --- a/sys/vm/vm_reserv.c +++ b/sys/vm/vm_reserv.c @@ -1391,8 +1391,8 @@ vm_reserv_reclaim_contig(int domain, u_long npages, vm_paddr_t low, ("%s: adjusted address does not align to %lx", __func__, alignment)); KASSERT(((pa ^ (pa + size - 1)) & -boundary) == 0, - ("%s: adjusted address spans boundary to %lx", - __func__, boundary)); + ("%s: adjusted address spans boundary to %jx", + __func__, (uintmax_t)boundary)); vm_reserv_domain_scan_unlock(domain); vm_reserv_reclaim(rv);