Date: Fri, 22 Oct 2010 15:37:02 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: current@freebsd.org Subject: [PATCH]: boot2 optimizations to shrink it Message-ID: <20101022133702.GA22912@freebsd.org>
next in thread | raw e-mail | index | archive | help
--3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, can you guys review this patch: http://lev.vlakno.cz/~rdivacky/boot2.safe.patch It shrinks boot2 by 52 bytes by: eliminating memcpy() calls buffer shrinking as we are only ever called with argument < 256 for the %u modifier constifying write-only variable Rui Paulo tested this, is this patch ok? May I commit this? thank you, roman --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzBk34ACgkQLVEj6D3CBEz/7ACbBO1YrWsbcHa2C12CBHNPlMbl 9SoAn3/3GPZP+Lr9A/nSRo+UDDCh56bN =PbfE -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101022133702.GA22912>