Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Aug 2019 02:33:38 +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-93Ykz7Vz5f@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

Conrad Meyer <cem@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |Works As Intended

--- Comment #5 from Conrad Meyer <cem@freebsd.org> ---
(In reply to Chuhong Yuan from comment #4)
> (In reply to Conrad Meyer from comment #3)
> I am not very clear about how to revise it...
> remove_node() will remove the node from "all_head" list and free the node,
> so how to call it in the first pass but just mark the nodes for removal a=
nd
> do not remove or free the nodes?

You would modify remove_node().

However, if you don't have clear motivation to improve this algorithm
(performance does not matter), don't have a good grasp of what the algorithm
does, why are you trying to change it?

--=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-93Ykz7Vz5f>