lkml.org 
[lkml]   [2003]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsize in /proc/modules

/proc/modules size field includes init_size in 2.5. Why ?

The removal of sensible values in /proc/ksyms means that oprofile can no
longer attribute module samples reliably. The only information we have
is module_core address, and size == core_size+init_size. Since init code
is removed in sys_init_module, this will overestimate, and can lead to
overlapping with the start of another module, afaics.

In 2.4, we had size(.text), which could underestimate (think
.text.exit), but that is not a big problem.

Rusty, does this fall under another one of your "corner cases" ? (what I
would call "flaky code" ...)

Or I have I just missed something obvious ?

regards
john

--
"Anyone who quotes Rusty in their sig is an idiot."
- me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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