Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758965AbYCCQMR (ORCPT ); Mon, 3 Mar 2008 11:12:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754111AbYCCQME (ORCPT ); Mon, 3 Mar 2008 11:12:04 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:47357 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752223AbYCCQMC (ORCPT ); Mon, 3 Mar 2008 11:12:02 -0500 Date: Mon, 3 Mar 2008 15:53:30 +0000 From: Alan Cox To: Alan Stern Cc: Pavel Machek , "Paul E. McKenney" , Linus Torvalds , Andrew Morton , Zdenek Kabelac , , "Rafael J. Wysocki" , Pierre Ossman , Kernel development list , pm list Subject: Re: [patch] Re: using long instead of atomic_t when only set/read is required Message-ID: <20080303155330.39e45ad4@core> In-Reply-To: References: <20080303120842.GA28369@elf.ucw.cz> X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 488 Lines: 15 > Atomicity of reads of write for pointers and integral types (other than > long long) should be documented. NAK. Atomicity of reads or writes for pointers and integral types is NOT guaranteed. Gcc doesn't believe in your guarantee. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/