From owner-cvs-all Tue May 28 20:50:50 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id E5F5C37B407 for ; Tue, 28 May 2002 20:50:44 -0700 (PDT) Received: (qmail 23917 invoked from network); 29 May 2002 03:50:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 29 May 2002 03:50:41 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4T3olF26137; Tue, 28 May 2002 23:50:47 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200205290337.g4T3bNDc010112@khavrinen.lcs.mit.edu> Date: Tue, 28 May 2002 23:50:18 -0400 (EDT) From: John Baldwin To: Garrett Wollman Subject: Re: cvs commit: src/sys/kern uipc_socket.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 On 29-May-2002 Garrett Wollman wrote: > < said: > >> Define "an appropriate constructor" that can somehow make up for broken >> code on another process that is knowingly accessing stale pointers. > > An appropriate constructor is one which doesn't blow away the version > number, which allows us to detect when the object has been recycled. > Please go back and read up on non-blocking synchronization before > continuing this thread. This ignores the fact that you can be reading stale values anyway without a lock of some sort on modern architectures. This also makes the assumption that a chunk of memory is once-a-socket always-a-socket which doesn't let UMA properly adjust to spikes in system load by shuffling memory resources around to subsystems that need it most from other subsystems that don't. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message