Re: [PATCH] parisc: fix module loading failure of large kernel modules (take 2)

Rusty Russell
2008-12-31T04:09:00Z

On Wednesday 31 December 2008 09:32:41 Helge Deller wrote:
> BTW, although the comment states that arches can change section sizes
> in the module_frob_arch_sections() function:
> /* Allow arches to frob section contents and sizes. */
> it will break horrible if you do so.
> What I found was, that if you change sh_size, at least the module
> references / dependency chain will break when running lsmod.

Well, you can change the size of NOBITS sections: other things are likely
to be less successful. You could probably make them smaller, though.

Cheers,
Rusty.