Re: [patch 03/26] Dynamic kernel command-line - arm

From: Bernhard Walle
Date: Fri Jan 19 2007 - 07:38:37 EST


* Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> [2007-01-18 16:23]:
>
> However, there is a bigger question here: that is the tradeoff between
> making this variable part of the on-disk kernel image, but throw away
> the memory at runtime, or to leave it in the BSS where it will not be
> part of the on-disk kernel image, but will not be thrown away at
> runtime.

Are 1024 bytes of a bigger kernel image really a problem? And even,
normally kernel images are compressed, and compressing 1024 zeros
can be compressed very well.

I think saving memory is more important than saving disk space. I know
that most ARM device use flash disk, but also most ARM devices have
limited RAM.


Regards,
Bernhard

Attachment: pgp00000.pgp
Description: PGP signature