This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14565] Unnecessary failure case in sysdeps/posix/writev.c, etc.
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 09 Sep 2012 22:19:06 +0000
- Subject: [Bug libc/14565] Unnecessary failure case in sysdeps/posix/writev.c, etc.
- Auto-submitted: auto-generated
- References: <bug-14565-131@http.sourceware.org/bugzilla/>
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.