On Fri, Dec 28, 2018 at 01:24:45AM +0100, Florian Westphal wrote: > Also, unconditionally schedule the gc worker. > The condition > > gc_count > ARRAY_SIZE(gc_nodes)) > > cannot be true unless tree grows very large, as the height of the tree > will be low even with hundreds of nodes present. But in patch 3/8 you make the worker only free nodes if gc_count > ARRAY_SIZE(gc_nodes)). So the worker is going to burn CPU time scanning the trees but most of the time won't find enough to GC. Also does the height of the tree matter? I don't see how it affects how many empty nodes there are in the tree. -- Shawn