From owner-cvs-all Tue May 28 15:51:52 2002 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 304D037B405; Tue, 28 May 2002 15:51:47 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g4SMpkEN008707; Tue, 28 May 2002 18:51:46 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g4SMpk6g008704; Tue, 28 May 2002 18:51:46 -0400 (EDT) Date: Tue, 28 May 2002 18:51:46 -0400 (EDT) From: Garrett Wollman Message-Id: <200205282251.g4SMpk6g008704@khavrinen.lcs.mit.edu> To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c In-Reply-To: References: <200205251910.g4PJAFn2088378@khavrinen.lcs.mit.edu> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > We allocate a new socket, with _NO_ other references to it from anyone else. There is no guarantee that there are no other references to it, since it is possible for the socket to be recycled in between the time it is marked for export by the sysctl helper function and the time it is actually copied out. The zone allocator recycled objects in FIFO order; I'm not sure what the behavior of UMA is in this regard. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message