From owner-freebsd-current Fri Feb 8 7:16:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id E8C4B37B420 for ; Fri, 8 Feb 2002 07:16:28 -0800 (PST) Received: (qmail 4348 invoked from network); 8 Feb 2002 15:16:28 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([65.91.155.67]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 8 Feb 2002 15:16:28 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C636F6C.96506043@mindspring.com> Date: Fri, 08 Feb 2002 10:16:26 -0500 (EST) From: John Baldwin To: Terry Lambert Subject: Re: ucred for threads Cc: Julian Elischer , current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Feb-02 Terry Lambert wrote: > John Baldwin wrote: >> No, an unlocked compare is _not_ ok. What if the p_ucred pointer was >> changed >> on some other processor by another thread from this processor? > > I saw your response to Julian... I understand the concern, > but I think it's unfounded. Let me explain. Yes, it's an acceptable race to lose as you say. -- 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 freebsd-current" in the body of the message