Re: Patches for REALLY TINY 386 kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Campbell <[email protected]> writes:

> I wrote a set of patches out of concern that even if you compile a 386
> kernel a lot of code irrelevent to legacy machines still
> remains. Things like the Pentium TSC register, DMI information, ESCD
> parsing, and the use of CPUID do not apply to these machines, but
> looking at System.map you can see they're still there.

I'm afraid a lot of this, like the CPUID changes, are fairly pointless
because they are  __cpuinit code anyways. This means (unless you compiled
a kernel with CPU hotplug support enabled) it will be all freed after
boot.

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

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux