[Bug 239672] gcov: Optimize list traverse by two passes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 7 16:09:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239672

--- Comment #3 from Conrad Meyer <cem at freebsd.org> ---
This change isn't quite right either.  The remove_node() traversal needs to
happen on the first pass.  It can mark the nodes for removal during that pass,
but cannot remove them from the "all_head" list (nor free them, of course).

The question that comes to mind is, why does this function's performance matter
at all?  It can only be invoked manually from a sysctl.  Does it take material
time?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list