From owner-cvs-src@FreeBSD.ORG Fri Jul 11 10:04:45 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF23637B425 for ; Fri, 11 Jul 2003 10:04:44 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B87E43F3F for ; Fri, 11 Jul 2003 10:04:43 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 96027 invoked from network); 11 Jul 2003 17:04:42 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 11 Jul 2003 17:04:42 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 11 Jul 2003 12:04:22 -0500 (CDT) From: Mike Silbersack To: Bosko Milekic In-Reply-To: <20030711122818.GA7755@technokratis.com> Message-ID: <20030711120225.D1081@odysseus.silby.com> References: <200307092159.h69LxmR3001446@repoman.freebsd.org> <20030711122818.GA7755@technokratis.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 17:04:46 -0000 On Fri, 11 Jul 2003, Bosko Milekic wrote: > > - 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? Possibly, but the entire locking strategy needs to be reexamined, so trying to deal with those atomic ops first would be a waste of time. Mike "Silby" Silbersack