From owner-cvs-all@FreeBSD.ORG Wed Jul 30 15:50:41 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D239037B408; Wed, 30 Jul 2003 15:50:41 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7985943FDD; Wed, 30 Jul 2003 15:50:40 -0700 (PDT) (envelope-from pb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6UMod0U083317; Wed, 30 Jul 2003 15:50:39 -0700 (PDT) (envelope-from pb@repoman.freebsd.org) Received: (from pb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6UModIK083312; Wed, 30 Jul 2003 15:50:39 -0700 (PDT) Message-Id: <200307302250.h6UModIK083312@repoman.freebsd.org> From: Pierre Beyssac Date: Wed, 30 Jul 2003 15:50:38 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sys_pipe.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 22:50:43 -0000 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