[PATCH 0/2] avoid retaining unnecessary symbol information for loaded modules with kallsyms (v2)

From: Jan Beulich
Date: Mon Jul 06 2009 - 09:50:12 EST


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@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/