From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 2 15:14:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F91116A4CE; Wed, 2 Jun 2004 15:14:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 078F943D49; Wed, 2 Jun 2004 15:14:44 -0700 (PDT) (envelope-from csjp@freebsd.org) Received: from freefall.freebsd.org (csjp@localhost [127.0.0.1]) i52MEhJp096572; Wed, 2 Jun 2004 15:14:43 -0700 (PDT) (envelope-from csjp@freebsd.org) Received: (from csjp@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i52MEhAH096571; Wed, 2 Jun 2004 15:14:43 -0700 (PDT) (envelope-from csjp@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: csjp set sender to csjp@freebsd.org using -f Date: Wed, 2 Jun 2004 15:14:43 -0700 From: "Christian S.J. Peron" To: Andre Oppermann Message-ID: <20040602221443.GA92431@freefall.freebsd.org> References: <20040602043537.GA42327@freefall.freebsd.org> <40BD9D3F.7090100@freebsd.org> <20040602135155.GA31642@freefall.freebsd.org> <40BE4536.4050905@freebsd.org> <20040602213515.GA90619@freefall.freebsd.org> <40BE4BFE.70204@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40BE4BFE.70204@freebsd.org> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org cc: ipfw@freebsd.org Subject: Re: ipfw cached ucred patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 22:14:44 -0000 I understand what you are saying. The only real other choice would be to copy out the entire cr_groups array. Do you know if this copy would be more expensive then the mutex lock/unlock associated with grabbing a reference to the ucred? -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer