lkml.org 
[lkml]   [2010]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 21 Sep 2010 16:41:19 +0200
SubjectRe: [PATCH 03/10] jump label v11: base patch
From"Andi Kleen" <>

>
> So there are ~150 tracepoints, but this code is also being proposed for
> use with 'dynamic debug' of which there are > 1000, and I'm hoping for
> more users moving forward.

Even 1000 is fine to walk, but if it was sorted a binary search
would be much faster anyways. That is then you would still
need to search for each module, but that is a relatively small
number (< 100)

> Also, I think the hash table deals nicely with modules.

Maybe but it's also a lot of code. And it seems to me
that it is optimizing the wrong thing. Simpler is nicer.

-Andi



\
 
 \ /
  Last update: 2010-09-21 16:43    [from the cache]
©2003-2010