Messages in this thread | | | Date | Wed, 25 Jul 2007 00:45:17 +0200 | From | Willy Tarreau <> | Subject | Re: Patches for REALLY TINY 386 kernels |
| |
On Wed, Jul 18, 2007 at 08:55:50AM -0700, H. Peter Anvin wrote: > Andi Kleen wrote: > > > >> Already with these patches I can compile a zImage kernel that is 450kb > >> large (890kb decompressed) > > > > The important part is not how big the vmlinux is, but how much > > memory is actually used after boot. > > > > I expect concentrating some of the dynamic data structures would > > be more fruitful in fact. > > > > Well, how big the vmlinux file is matters if it doesn't fit in memory > with enough time to get to the phase where it is dumping the init > sections. *If that is not the issue*, then axing stuff like CPUID is a > major lose in terms of code maintainability for zero gain.
Not only that, but the size of the vmlinux matters when you have limited flash memory to put it on. Having packaged single floppy-based firewalls for a few years, I can assure you that even one kB sometimes matters!
> -hpa
Regards, Willy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |