HomeFreeBSD

Add queue(2) debug macros as build options

Description

Add queue(2) debug macros as build options

Add QUEUE_MACRO_DEBUG_TRACE and QUEUE_MACRO_DEBUG_TRASH as proper kernel
options. While here, alpha-sort the debug section of sys/conf/options.

Enable QUEUE_MACRO_DEBUG_TRASH in amd64 GENERIC (but not GENERIC-NODEBUG)
kernels. It is similar in nature and cost to other use-after-free pointer
trashing we do in GENERIC. It is probably reasonable to enable in any arch
GENERIC kernel that defines INVARIANTS.

Details

Provenance
cemAuthored on Apr 12 2020, 6:04 PM
Parents
rG47308803e7b9: carp tests: Basic functionality test
Branches
Unknown
Tags
Unknown

Event Timeline