Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread Bruce Evans
On Sat, 9 Sep 2017, David Chisnall wrote: On 8 Sep 2017, at 21:09, Mateusz Guzik 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

Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread David Chisnall
On 8 Sep 2017, at 21:09, Mateusz Guzik 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 This change seems

Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread Bruce Evans
On Fri, 8 Sep 2017, Ngie Cooper (yaneurabeya) wrote: On Sep 8, 2017, at 13:09, Mateusz Guzik wrote: ... Log: Allow __builtin_memset instead of bzero for small buffers of known size This change breaks all platforms that use gcc. If it???s not reverted in the next 3 hours,

Re: svn commit: r323329 - head/sys/sys

2017-09-08 Thread Ngie Cooper (yaneurabeya)
> On Sep 8, 2017, at 13:09, Mateusz Guzik 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

svn commit: r323329 - head/sys/sys

2017-09-08 Thread Mateusz Guzik
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