svn commit: r323329 - head/sys/sys
Ngie Cooper (yaneurabeya)
yaneurabeya at gmail.com
Sat Sep 9 05:08:25 UTC 2017
> On Sep 8, 2017, at 13:09, Mateusz Guzik <mjg at FreeBSD.org> wrote:
>
> Author: mjg
> Date: Fri Sep 8 20:09:14 2017
> New Revision: 323329
> URL: https://svnweb.freebsd.org/changeset/base/323329
>
> Log:
> Allow __builtin_memset instead of bzero for small buffers of known size
>
> In particular this eliminates function calls and related register save/restore
> when only few writes would suffice.
>
> Example speed up can be seen in a fstat microbenchmark on AMD Ryzen cpus, where
> the throughput went up by ~4.5%.
>
> Thanks to cem@ for benchmarking and reviewing the patch.
This change breaks all platforms that use gcc. If it’s not reverted in the next 3 hours, I’ll revert it.
Please fix ASAP if possible: https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/3668/console .
Thanks,
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170908/c3e142ad/attachment.sig>
More information about the svn-src-all
mailing list