[Bug 239672] gcov: Optimize list traverse by using LIST_FOREACH_SAFE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 7 06:16:53 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239672
Chuhong Yuan <hslester96 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #206304|0 |1
is obsolete| |
--- Comment #2 from Chuhong Yuan <hslester96 at gmail.com> ---
Created attachment 206319
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206319&action=edit
gcov_fs patch v2
Use two passes to optimize the traverse.
In the first pass, add all nodes which need to be removed to a queue.
In the second pass, traverse the queue and remove the nodes.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list