Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Jul 2001 13:41:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Jul 2001 13:41:03 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:50700 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 24 Jul 2001 13:40:49 -0400 Date: Tue, 24 Jul 2001 10:38:45 -0700 (PDT) From: Linus Torvalds To: Davide Libenzi cc: Andrea Arcangeli , Jeff Dike , , , Jan Hubicka , Jonathan Lundell , Alexander Viro Subject: Re: user-mode port 0.44-2.4.7 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing On Tue, 24 Jul 2001, Davide Libenzi wrote: > > Not that much if you look at how incl is "decomposed" internally ( w/o LOCK ) > by the CPU. If you really care about j you need an atomic op here, in any case. Yes, but the "inc" is atomic at least on a UP system. So here "volatile" might actually _show_ bugs instead of hiding them. The real isssue, though, is that that is all volatile ever does. It can show or hide bugs, but it can't fix them. Of course, some people consider hidden bugs to _be_ fixed. I don't believe in that particulat philosophy myself. Linus - 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/