[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e0cf0bf0701180731s38188de7w6e3648526339ad5b@mail.gmail.com>
Date: Thu, 18 Jan 2007 17:31:18 +0200
From: "Alon Bar-Lev" <alon.barlev@...il.com>
To: "Tomas Carnecky" <tom@...ervice.com>,
"Bernhard Walle" <bwalle@...e.de>, linux-kernel@...r.kernel.org,
"Alon Bar-Lev" <alon.barlev@...il.com>
Subject: Re: [patch 03/26] Dynamic kernel command-line - arm
On 1/18/07, Russell King <rmk+lkml@....linux.org.uk> wrote:
> If you want to place a variable in a specific section, it must be
> explicitly initialised. Eg,
>
> static char __initdata command_line[COMMAND_LINE_SIZE] = "";
>
> 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.
This patch is a result of trying to extend the kernel command-line
size on x86 to more than 256 bytes. People requested to not allocate a
larger buffers for small systems.
I don't know who should decide the tradeoff...
So what you basically say is that many modules need to be fixed...
./arch/avr32/boards/atstk1000/setup.c
./arch/frv/kernel/setup.c
./arch/i386/kernel/acpi/boot.c
./arch/i386/kernel/mpparse.c
./arch/i386/kernel/setup.c
./arch/ia64/kernel/setup.c
<many more>
Best Regards,
Alon Bar-Lev.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists