From owner-freebsd-alpha Fri Dec 15 10:42:46 2000 From owner-freebsd-alpha@FreeBSD.ORG Fri Dec 15 10:42:45 2000 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id D089537B402 for ; Fri, 15 Dec 2000 10:42:44 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id KAA30652; Fri, 15 Dec 2000 10:42:49 -0800 Date: Fri, 15 Dec 2000 10:42:41 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Bernd Walter Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: mb and wmb in atomic_ In-Reply-To: <20001215193443.B62048@cicely5.cicely.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I agree that they need not be there. Others do not. > Why are the mb and wmb operations needed in the atomic_ functions? > If I understood it correctly the locked operations are in synced > with others CPUs and there is no memory operation beside the variable > itself. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message