mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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
This commit is contained in:
parent
83a426d13a
commit
5d956e11ed
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue