From nobody Thu Mar 21 15:25:29 2024 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 4V0q615DfKz5DsQT; Thu, 21 Mar 2024 15:25:29 +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 4V0q614JM4z4k4Y; Thu, 21 Mar 2024 15:25:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711034729; 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=sbr+SacA7cgb31EzWVRMJykoItIBbYwVqSEXApxIyqQ=; b=CuAGdoORiCtgp5gSafu0YI5OCl+AZaNHpMpK0nmbzx/lkUJag53DvZZPLhkiDdK+8fXfgL fl9g8pSXprT0lpue+6s+AACN0yZ2Mk3JkanopL7/6PZaz+W+Bk1OqWEMVwwCnMiNFRARHi kizfZERObEx+XILBDnEgGI9eRGmDvJlQ5odGe2z7zaH8eCe/2zEWDdHcvxDv+NEmUmVEMl fnemWAvGvsftBUN7YpYXO6ZjOcTooCWmx7iNsgPSoK+lcfPv0aX2t779sOGzY1xYWotJxi yJ24pVDUiOU+6iLPSmchrBUXXF+OvR3Ljd6f88opZzTvD/wv+Tlx2tSJTMHZxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711034729; a=rsa-sha256; cv=none; b=oRfD7uClCjfXQi6Dq6MrfUXSRrVWab2P3gUQ+QUurB9osYyGuLwhKI8RRWyOMZp56Ixvob VYLVe1zg33cUVDWFVi84R1rBQz+qLQi0gi89GJ0tc/n0xE1saBSOxWzmY6ATg1rZhmNqvS vptZg2CjdgDsbPmr5rej7xYVk8OhSiYBqvqAX4V6dHaRU5I0uWa0hiI4YiMWfmKeKKUk8+ bA4zWPO0bgOjDG3hBvCHQFAu8UsQ4ufZOJfQ2NghhgUqEKLwoXmEaNLrkjovZn49lVew8v x2MgQ8YfvWHXYWDB+zNLedOa7OFZbKw+V+sja9yNiTEfNu9oSxTTq/qhbIqdIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711034729; 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=sbr+SacA7cgb31EzWVRMJykoItIBbYwVqSEXApxIyqQ=; b=AK1ev/zWn+h/fiic5wFZg4XWxtqksvt95f9oslEyja20+B3krZVO6lpeNV4CQJig+Ii6lK 9UZySE9rj0IvzKwtOVHtKe4C3DL8rEmD2N873fMQt1mM3GuCntXnUzBbUGj+Izfl0WlRIE 2gr/TjFwZyY0OBn0ZVSPIQUpvk/LYasHzam+hAxCrlV9XtBcMBJS0y+Sms67F6Gojts03o Os9bgN237E/QI7rkUoqTshzWBfH/XVapHX5Opgzo9easykUpvNMhB6a1ckonew8K8pCzmx tJP5P7Hm8AmasUyS68EVwdun11i4/d+PIwsFE0AbhG3scNUy4gDMExYpTINAFA== 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 4V0q613wV6zh2C; Thu, 21 Mar 2024 15:25:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42LFPT2M056042; Thu, 21 Mar 2024 15:25:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42LFPTh5056039; Thu, 21 Mar 2024 15:25:29 GMT (envelope-from git) Date: Thu, 21 Mar 2024 15:25:29 GMT Message-Id: <202403211525.42LFPTh5056039@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 5d956e11ed37 - main - KASSERT(9): describe history of MPASS 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d956e11ed3713ff769d51b71f7b4ee6ce0085fe Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=5d956e11ed3713ff769d51b71f7b4ee6ce0085fe commit 5d956e11ed3713ff769d51b71f7b4ee6ce0085fe Author: Mitchell Horne AuthorDate: 2024-03-21 15:21:04 +0000 Commit: Mitchell Horne CommitDate: 2024-03-21 15:24:35 +0000 KASSERT(9): describe history of MPASS The macro originates from BSD/OS, with a different etymology than what is presented. Add a brief HISTORY section to capture this. Reviewed by: emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44439 --- share/man/man9/KASSERT.9 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/share/man/man9/KASSERT.9 b/share/man/man9/KASSERT.9 index 8d9dd98014a8..bab8efe5cfac 100644 --- a/share/man/man9/KASSERT.9 +++ b/share/man/man9/KASSERT.9 @@ -183,6 +183,15 @@ MPASS(td == curthread); KASSERT(sz >= SIZE_MIN && sz <= SIZE_MAX, ("invalid size argument: %u", sz)); .Ed +.Sh HISTORY +The +.Nm MPASS +macro first appeared in +.Bsx +and was imported into +.Fx 5.0 . +The name originates as an acronym of "multi-processor assert", but has evolved +to mean "must pass", or "must-pass assert". .Sh SEE ALSO .Xr panic 9 .Sh AUTHORS