This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove small copy optimization from xsputn
- From: Richard Henderson <rth at twiddle dot net>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 29 Mar 2012 08:37:22 -0400
- Subject: Re: [PATCH] Remove small copy optimization from xsputn
- References: <20120329.005206.1690637678057774380.davem@davemloft.net>
On 03/29/2012 12:52 AM, David Miller wrote:
> Any objections?
>
> 2012-03-28 David S. Miller <davem@davemloft.net>
>
> * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
> small copies by hand.
None from me.
Amusingly, I can imagine gcc's vector pattern recognizer turning
the byte-at-time loop back into a memmove. ;-)
r~