Page MenuHomeFreeBSD

[2/3] queue(3): Enhance queue debugging macros
ClosedPublic

Authored by cem on Oct 22 2015, 7:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 5:03 AM
Unknown Object (File)
Thu, Sep 25, 12:33 AM
Unknown Object (File)
Sep 8 2025, 7:09 PM
Unknown Object (File)
Aug 19 2025, 2:53 PM
Unknown Object (File)
Jul 1 2025, 9:31 AM
Unknown Object (File)
Jun 30 2025, 11:07 AM
Unknown Object (File)
Jun 26 2025, 12:58 AM
Unknown Object (File)
Jun 17 2025, 4:22 AM
Subscribers

Details

Summary

Split the QUEUE_MACRO_DEBUG into QUEUE_MACRO_DEBUG_TRACE and
QUEUE_MACRO_DEBUG_TRASH.

Add the debug macrso QMD_IS_TRASHED() and QMD_SLIST_CHECK_PREVPTR().

Document these (to some extent) in queue.3.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cem retitled this revision from to [2/3] queue(3): Enhance queue debugging macros.
cem updated this object.
cem edited the test plan for this revision. (Show Details)
cem added a reviewer: emaste.
bdrewery added inline comments.
sys/sys/queue.h
112 โ†—(On Diff #9632)

Thanks for keeping a backwards-compat define. I don't like a warning as if some downstream project does use the flag it can't really switch due to portability across older releases or the Linux-supplied queue.h in their bsd packages.

The #defines here also remove the need for the UPDATING entry IMO.

sys/sys/queue.h
112 โ†—(On Diff #9632)

Ok.

emaste edited edge metadata.
This revision is now accepted and ready to land.Sep 6 2016, 12:14 AM
This revision was automatically updated to reflect the committed changes.