Date: Thu, 10 Jan 2002 12:10:22 +0000 (GMT) From: Mike Silbersack <silby@silby.com> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <20020110120927.T7162-100000@patrocles.silby.com> In-Reply-To: <200201100129.aa00865@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jan 2002, Ian Dowse wrote: > In message <200201091714.aa02189@salmon.maths.tcd.ie>, Ian Dowse writes: > >In fact, > >a much better approach would be to change the code so that it reads > >large blocks in fixed-sized chunks. I'll see if that can be done > >without too much additional code-bloat. > > This turned out to be relatively easy to do and it actually reduces > the size of boot2 by 92 bytes, mainly because the simple malloc() > function is no longer needed. It uses 4k buffers regardless of the > filesystem block size (4k is the minumum ffs block size), so it > should work with any block size. > > Ian Wow, neat. I'd review it for you, but I'm not up on my FSes. Mike "Silby" Silbersack 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?20020110120927.T7162-100000>