Date: Wed, 30 Jul 2003 15:50:38 -0700 (PDT) From: Pierre Beyssac <pb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c Message-ID: <200307302250.h6UModIK083312@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307302250.h6UModIK083312>