From owner-freebsd-net Sat May 18 2: 0:37 2002 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 0264037B405; Sat, 18 May 2002 02:00:33 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id D5EDEAE1D1; Sat, 18 May 2002 02:00:32 -0700 (PDT) Date: Sat, 18 May 2002 02:00:32 -0700 From: Alfred Perlstein To: "Kenneth D. Merry" Cc: current@FreeBSD.org, net@FreeBSD.org Subject: Re: new zero copy sockets patches available Message-ID: <20020518090032.GO20683@elvis.mu.org> References: <20020517233950.A36169@panzer.kdm.org> <20020518060255.GN20683@elvis.mu.org> <20020518003046.A36510@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020518003046.A36510@panzer.kdm.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Kenneth D. Merry [020517 23:31] wrote: > > The problem here is that the mutex needs to be initialized before I can > acquire it, and there's going to be a race between checking to see > whether it has been initialized and actually initializing it. > ... > Suggestions? *slaps forhead* Probably a SYSINIT? > Cool, thanks for the feedback! np, this is promising work! -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message