Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2019 16:09:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239672] gcov: Optimize list traverse by two passes
Message-ID:  <bug-239672-227-3mjD6bp6dD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239672-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239672-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239672

--- Comment #3 from Conrad Meyer <cem@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 pa=
ss,
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 ma=
tter
at all?  It can only be invoked manually from a sysctl.  Does it take mater=
ial
time?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239672-227-3mjD6bp6dD>