Re: br_read_lock SMP race fix

From: David S. Miller (davem@redhat.com)
Date: Thu Jul 27 2000 - 20:09:11 EST


   Date: Fri, 28 Jul 2000 02:36:34 +0200 (CEST)
   From: Andrea Arcangeli <andrea@suse.de>

   Hmmm, are you really sure? I thought there was always a finite deadline
   for a dirty buffer to be flushed to memory and to be made visible to all
   other CPUs.

   If you're right then we definitely need wmb() there ;).

Yes, I am really sure. In fact in the Sparc v9 architecture manual
they specifically give an example of a piece producer/consumer code
where this issue pops up and membars are needed.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:25 EST