From owner-freebsd-arch@FreeBSD.ORG Tue Sep 18 16:12:57 2012 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4B1D106566C; Tue, 18 Sep 2012 16:12:57 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9A38FC0A; Tue, 18 Sep 2012 16:12:57 +0000 (UTC) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 4889E3B754; Tue, 18 Sep 2012 16:12:56 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q8IGCuh0022398; Tue, 18 Sep 2012 16:12:56 GMT (envelope-from phk@phk.freebsd.dk) To: attilio@FreeBSD.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 18 Sep 2012 17:10:44 +0100." Content-Type: text/plain; charset=ISO-8859-1 Date: Tue, 18 Sep 2012 16:12:56 +0000 Message-ID: <22397.1347984776@critter.freebsd.dk> Cc: arch@FreeBSD.org Subject: Re: Aliasing issue with TAILQ on ppc64 ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 16:12:57 -0000 In message , Attilio Rao writes: >Stop acting like the old teacher speaking to stupid students. A very apt metaphor in this case. Adding memory barriers to the TAILQ macros is not something I would do lightly, but it is, obviously, one of the possibilties. I'd far prefer if we could get away with sticking a couple of volatile's in there. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.