From owner-cvs-all@FreeBSD.ORG Wed Nov 5 21:58:28 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 413F316A4CE; Wed, 5 Nov 2003 21:58:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 899A643FD7; Wed, 5 Nov 2003 21:58:27 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA65wRXJ093153; Wed, 5 Nov 2003 21:58:27 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA65wRZb093152; Wed, 5 Nov 2003 21:58:27 -0800 (PST) (envelope-from alc) Message-Id: <200311060558.hA65wRZb093152@repoman.freebsd.org> From: Alan Cox Date: Wed, 5 Nov 2003 21:58:27 -0800 (PST) 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: Thu, 06 Nov 2003 05:58:28 -0000 alc 2003/11/05 21:58:27 PST FreeBSD src repository Modified files: sys/kern sys_pipe.c Log: - Delay the allocation of memory for the pipe mutex until we need it. This avoids the need to free said memory in various error cases along the way. Revision Changes Path 1.157 +1 -5 src/sys/kern/sys_pipe.c