Re: [rfc] removing -mpreferred-stack-boundary=2 flag for i386?

From: Stefan Bethke <stb_at_lassitu.de>
Date: Sat, 24 Dec 2011 12:20:06 +0100
Am 24.12.2011 um 12:06 schrieb Bruce Evans:

> On Fri, 23 Dec 2011, Adrian Chadd wrote:
> 
>> Well, the whole kernel is bloated at the moment, sorry.
>> 
>> I've been trying to build the _bare minimum_ required to bootstrap
>> -HEAD on these embedded boards and I can't get the kernel down below 5
>> megabytes - ie, one with FFS (with options disabled), MIPS, INET (no
>> INET6), net80211, ath (which admittedly is big, but I need it no
>> matter what, right?) comes in at:
>> 
>> -r-xr-xr-x  1 root  wheel   5307021 Nov 29 19:14 kernel.LSSR71
>> 
>> And with INET6, on another board (and this includes MSDOS and the
>> relevant geom modules):
>> 
>> -r-xr-xr-x  1 root  wheel   5916759 Nov 28 12:00 kernel.RSPRO
>> 
>> .. honestly, that's what should be addressed. That's honestly a bit ridiculous.
> 
> It's disgusting, but what problems does it cause apart from minor slowness
> from cache misses?

The flash chip on these devices only has 8MB; some of the really cheap ones only have 4MB (yes MB, not GB).  And many have only 32MB RAM.  It would be nice to have space for actual applications :-)


Stefan

-- 
Stefan Bethke <stb_at_lassitu.de>   Fon +49 151 14070811
Received on Sat Dec 24 2011 - 10:20:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC