Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 12 Oct 2001 23:30:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 12 Oct 2001 23:30:25 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:23311 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Fri, 12 Oct 2001 23:30:10 -0400 Date: Fri, 12 Oct 2001 20:30:20 -0700 (PDT) From: Linus Torvalds To: Davide Libenzi cc: Paul Mackerras , Subject: Re: [Lse-tech] Re: RFC: patch to allow lock-free traversal of lists with insertion 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 On Fri, 12 Oct 2001, Davide Libenzi wrote: > > Suppose that p and *p are on two different cache partitions and the > invalidation order that comes from the wmb() cpu is 1) *p 2) p > Suppose that the partition when *p lies is damn busy and the one where > p lies is free. > The reader cpu could pickup the value of p before the value of *p by > reading the old value of a Ahh.. I misunderstood. You are arguing for the rmb() even if the CPU doesn't speculate addresses for loads. Yes, I agree. 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/