HomeFreeBSD

queue(3): Wrap QMD_ASSERT()'s guard with __predict_false()

Description

queue(3): Wrap QMD_ASSERT()'s guard with __predict_false()

Such a guard is bound to be almost always false (obviously).

Reviewed by: emaste (older version)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49974

Details

Provenance
olceAuthored on Apr 22 2025, 2:26 PM
Reviewer
emaste
Differential Revision
D49974: queue(3): Wrap all QMD_PANIC() guards with __predict_false()
Parents
rG1c5fea9e8b56: queue(3): Debug macros: Finer control knobs, userland support
Branches
Unknown
Tags
Unknown