From owner-cvs-all@FreeBSD.ORG Fri Jul 11 09:24:27 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 D9FDB37B401; Fri, 11 Jul 2003 09:24:27 -0700 (PDT) Received: from godel.mtl.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2627543F85; Fri, 11 Jul 2003 09:24:27 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: from godel.mtl.distributel.net (localhost [127.0.0.1]) h6BCSIte007783; Fri, 11 Jul 2003 12:28:18 GMT (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by godel.mtl.distributel.net (8.12.9/8.12.9/Submit) id h6BCSIUx007782; Fri, 11 Jul 2003 12:28:18 GMT X-Authentication-Warning: godel.mtl.distributel.net: bmilekic set sender to bmilekic@technokratis.com using -f Date: Fri, 11 Jul 2003 12:28:18 +0000 From: Bosko Milekic To: Mike Silbersack Message-ID: <20030711122818.GA7755@technokratis.com> References: <200307092159.h69LxmR3001446@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307092159.h69LxmR3001446@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: 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: Fri, 11 Jul 2003 16:24:28 -0000 On Wed, Jul 09, 2003 at 02:59:48PM -0700, Mike Silbersack wrote: > silby 2003/07/09 14:59:48 PDT > > FreeBSD src repository > > Modified files: > sys/kern sys_pipe.c > Log: > A few minor changes: > > - Use atomic ops to update the bigpipe count > - Make the bigpipe count sysctl readable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Can all these global variables (especially those manipulated at the same time) perhaps all be protected by a single mutex (or manipulated under an existing mutex) instead of all being done bus-locked, one after the other? > - Remove a duplicate comparison in an if statement > - Comment two SYSCTLs. > > Revision Changes Path > 1.139 +7 -6 src/sys/kern/sys_pipe.c -Bosko