cvs commit: src/sys/kern sys_pipe.c
Pierre Beyssac
pb at FreeBSD.org
Wed Jul 30 15:50:43 PDT 2003
pb 2003/07/30 15:50:38 PDT
FreeBSD src repository
Modified files:
sys/kern sys_pipe.c
Log:
Remove test in pipe_write() which causes write(2) to return EAGAIN
on a non-blocking pipe in cases where select(2) returns the file
descriptor as ready for write. This in turns causes libc_r, for
one, to busy wait in such cases.
Note: it is a quick performance fix, a more complex fix might be
required in case this turns out to have unexpected side effects.
Reviewed by: silby
MFC after: 3 days
Revision Changes Path
1.141 +1 -1 src/sys/kern/sys_pipe.c
More information about the cvs-src
mailing list