lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <p737ioyxwyq.fsf@bingen.suse.de>
Date:	18 Jul 2007 04:33:01 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Jonathan Campbell <jon@...dgrounds.com>
Cc:	linux-kernel@...r.kernel.org, torvalds@...nsmeta.com
Subject: Re: Patches for REALLY TINY 386 kernels

Jonathan Campbell <jon@...dgrounds.com> 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 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ