Re: [Question] about modules/inline benefits

From: Adrian Bunk
Date: Tue Jun 03 2008 - 13:28:38 EST


On Tue, Jun 03, 2008 at 08:19:22PM +0300, Adrian Bunk wrote:
> On Tue, Jun 03, 2008 at 09:54:41AM +0200, Oliver Neukum wrote:
> > Am Dienstag 03 Juni 2008 09:28:59 schrieb Sitsofe Wheeler:
> > > Modules allow you to support more hardware as there is a maximum size of the
> > > core kernel image.
> >
> > But you pay for every module with half a page of unused RAM and module
> > code will be in vmalloced memory thus increases TLB pressure a bit.
>
> Even more important, CONFIG_MODULES=y enlarges your kernel image by more
> than 5-10%, and you have to make _much_ stuff modular to compensate for
> this.

more than 5-10% -> at about 5-10%

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
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/