From owner-cvs-all Tue Feb 26 23:36: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A014937B400; Tue, 26 Feb 2002 23:35:59 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1R7ZxR71022; Tue, 26 Feb 2002 23:35:59 -0800 (PST) (envelope-from alfred) Message-Id: <200202270735.g1R7ZxR71022@freefall.freebsd.org> From: Alfred Perlstein Date: Tue, 26 Feb 2002 23:35:59 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c src/sys/sys pipe.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2002/02/26 23:35:59 PST Modified files: sys/kern sys_pipe.c sys/sys pipe.h Log: First rev at making pipe(2) pipe's MPsafe. Both ends of the pipe share a pool_mutex, this makes allocation and deadlock avoidance easy. Remove some un-needed FILE_LOCK ops while I'm here. There are some issues wrt to select and the f{s,g}etown code that we'll have to deal with, I think we may also need to move the calls to vfs_timestamp outside of the sections covered by PIPE_LOCK. Revision Changes Path 1.89 +68 -22 src/sys/kern/sys_pipe.c 1.18 +9 -2 src/sys/sys/pipe.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message