[DTrace-devel] [PATCH 2/7] htab reduction: providers

Nick Alcock nick.alcock at oracle.com
Thu Oct 21 04:08:56 PDT 2021


On 13 Oct 2021, Eugene Loh spake thusly:

> On 10/13/21 8:17 AM, Nick Alcock wrote:
>
>> Downside: iteration over providers is no longer in insertion order (but
>> is still deterministic). Does anyone care?
> I think we often do not care.  Modules are an exception, but their 
> preferred order still isn't insertion order.  I.e., we shuffle 
> particular modules to the front of the list.

Ooh, true! What *is* the insertion order... the order they appear in
kallmodsyms? ok that's more or less entirely arbitrary: the only
ordering in there is "built-in before loadable" and that's just as
easily done via two-stage lookup if anyone cares (which nobody does: I
doubt there's any point preserving it).

It's easier to keep the property we actually care about via simply
looking for things in the dtrace and vmlinux modules by hand first.

ok, so, patch series v3 coming, hopefully today, dropping the modlist
too! :) bwahaha

-- 
NULL && (void)



More information about the DTrace-devel mailing list