[Bug libc/14565] Unnecessary failure case in sysdeps/posix/writev.c, etc.
joseph at codesourcery dot com
sourceware-bugzilla@sourceware.org
Sun Sep 9 22:19:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14565
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-09-09 22:19:06 UTC ---
FWIW:
/* Pessimistically assume that 2.6.18 introduced real handling of
large numbers of requests to readv and writev and that we don't
need a fallback. It likely worked for much longer. */
#if __LINUX_KERNEL_VERSION >= 0x020612
# define __ASSUME_COMPLETE_READV_WRITEV 1
#endif
It would be nice if someone figured out just when this went into the
kernel - if it was actually 2.6.16 or before, then this replacement code
isn't actually needed for Linux any more.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list