[PATCH]: boot2 optimizations to shrink it
Roman Divacky
rdivacky at freebsd.org
Fri Oct 22 13:37:06 UTC 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101022/1b772a85/attachment.pgp
More information about the freebsd-current
mailing list