Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 18:57:23 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern subr_bus.c 
Message-ID:  <200009200157.SAA01434@mass.osd.bsdi.com>
In-Reply-To: Your message of "Tue, 19 Sep 2000 17:53:31 PDT." <XFMail.000919175331.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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.

IMO, the loader and the kernel both ought to take care of clearing their 
own BSS, as neither should be making (too many) assumptions about their 
load path.

The kernel should also forget about a lot of the startup cruft it still 
understands.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




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?200009200157.SAA01434>