diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2024-03-21 15:21:04 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2024-03-21 15:24:35 +0000 |
commit | 5d956e11ed3713ff769d51b71f7b4ee6ce0085fe (patch) | |
tree | 4941a5e390d91b9cd02b5307eadc643807385b46 /share/man/man9 | |
parent | 83a426d13a6a384e63e75d8252c03dd40af3817e (diff) | |
download | src-5d956e11ed3713ff769d51b71f7b4ee6ce0085fe.tar.gz src-5d956e11ed3713ff769d51b71f7b4ee6ce0085fe.zip |
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
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/KASSERT.9 | 9 |
1 files changed, 9 insertions, 0 deletions
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 |