Messages in this thread | | | Date | Mon, 06 Jul 2009 14:49:46 +0100 | From | "Jan Beulich" <> | Subject | [PATCH 0/2] avoid retaining unnecessary symbol information for loaded modules with kallsyms (v2) |
| |
Only defined non-absolute non-section symbols in non-init sections need to be retained for kallsyms use (and even then in the common case only text symbols are realy interesting). Therefore, the storage used for all other symbols can be recovered.
The first patch re-arranges the ELF symbol table accordingly, while the second patch also optimizaes the referenced string table.
Changes over the initial version: Code slightly re-arranged and a few comments added according to feedback from Rusty.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
| |