Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 17:53:31 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Robert Nordier <rnordier@nordier.com>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "Matthew N. Dodd" <mdodd@FreeBSD.org>, Doug Rabson <dfr@nlsystems.com>, Bruce Evans <bde@zeta.org.au>, mjacob@feral.com, Peter Wemm <peter@netplex.com.au>
Subject:   Re: cvs commit: src/sys/kern subr_bus.c
Message-ID:  <XFMail.000919175331.jhb@FreeBSD.org>
In-Reply-To: <200009200044.CAA10832@c3-dbn-96.dial-up.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20-Sep-00 Robert Nordier wrote:
> Peter Wemm wrote:
> 
>> Matthew Jacob wrote:
>> > 
>> > I'll second this.
>> 
>> Well, on the x86 we clear it twice, once in loader and once in locore.  I
>> thought it was redundant on the x86 since I thought the new boot2 cleared
>> the extended ELF segment sizes.  We do not support a.out kernels anymore
>> so the old bootblocks are not an issue.  (the old gas-1.9x cannot assemble
>> the .s files).
>> 
>> IMHO we should fix this bug in boot2.  It costs ~32 bytes.  (ie: reduces
>> from 212 bytes free to 180 bytes free).
>  
> If the bss clearing code is actually to be dropped from the x86
> kernel, I'd be happy for this to change.  Otherwise 15% of available
> space is a lot to spend for no actual benefit beyond a kind of
> theoretical tidiness.

Well, the loader needs its BSS cleared as well, so boot2 can't drop its
BSS clearing code, AFAIK.  Esp. if the loader switches to being an ELF
binary, which it might in 5.0 current if some people have their way.

> Robert Nordier

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000919175331.jhb>