[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kallsyms 2.6.8 address ordering
Robin Holt wrote:
> It must be useful for people using small memory footprint machines.
> Check with the folks doing embedded stuff.
> I remember a discussion about kallsyms and scaling problems with
> top reading some /proc/<pid> file.
> Look at this:

I posted recently (exactly one week ago) a different approach to this
problem that increased kallsyms_lookup performance about 100 times,
without a cache and without locking.

The patch is currently in Ingo Molnar's tree (I think). It works by
doing binary search on tha address table and then using pre-calculated
markers on the stem stream to search closer to the target. After that it
copies only the stems before the searched symbol that actually
contribute to the final result.

You can check the thread here:

(Please note that the original patch broke handling of aliased symbols
which was corrected later in the thread)

I'm working on an even better approach right now and I should have a
patch ready this weekend.

This however has nothing to do with _module_ symbol names, which is a
different problem altogether.

Paulo Marques -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.057 / U:10.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site