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)
Wed, Apr 2, 5:39 AM
Unknown Object (File)
Wed, Apr 2, 5:29 AM
Unknown Object (File)
Tue, Apr 1, 1:44 PM
Unknown Object (File)
Tue, Apr 1, 9:31 AM
Unknown Object (File)
Sun, Mar 9, 7:48 AM
Unknown Object (File)
Jan 7 2025, 1:02 PM
Unknown Object (File)
Nov 30 2024, 4:54 PM
Unknown Object (File)
Nov 22 2024, 6:17 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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

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

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.