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: <20070718204102.GM11115@waste.org>
Date:	Wed, 18 Jul 2007 15:41:02 -0500
From:	Matt Mackall <mpm@...enic.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	"H. Peter Anvin" <hpa@...or.com>,
	Jonathan Campbell <jon@...dgrounds.com>,
	linux-kernel@...r.kernel.org
Subject: Re: Patches for REALLY TINY 386 kernels

On Wed, Jul 18, 2007 at 10:10:43PM +0200, Andi Kleen wrote:
> 
> I was waiting for someone to make that "point" ...
> 
> > 
> > Every byte you can shave off the compressed kernel image is another
> > byte you can use for userspace on your FLASH.
> 
> Now let's see if that 1MB 386 contains any flash at all. Guesses?  

I've certainly worked on such devices. I expect there are more of them
still in service, than, say, Voyagers.

I haven't looked at whether this CPUID stuff is worth the trouble, I'm
just responding to your argument about init code. Init code is
definitely not free. It takes up storage space, which can be extremely
valuable.

The deeper point is: if you know what your platform is, platform
feature detection is a waste of code, regardless of whether it's
marked init or not.

-- 
Mathematics is the supreme nostalgia of our time.
-
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