Re: [PATCH 6/24] make atomic_read() behave consistently on frv

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, August 13, 2007 - 10:42 pm

Chris Snook wrote:

Well if there is only one memory location involved, then smp_rmb() isn't
going to really do anything anyway, so it would be incorrect to use it.

Consider that smp_rmb basically will do anything from flushing the
pipeline to invalidating loads speculatively executed out of order. AFAIK
it will not control the visibility of stores coming from other CPUs (that
is up to the cache coherency).

-- 
SUSE Labs, Novell Inc.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Paul E. McKenney, (Sun Aug 12, 11:03 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Nick Piggin, (Mon Aug 13, 10:42 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Paul E. McKenney, (Tue Aug 14, 10:01 am)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Segher Boessenkool, (Wed Aug 15, 11:51 am)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Paul E. McKenney, (Wed Aug 15, 12:18 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Segher Boessenkool, (Wed Aug 15, 12:46 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Paul E. McKenney, (Wed Aug 15, 12:59 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Segher Boessenkool, (Wed Aug 15, 1:13 pm)
Re: [PATCH 6/24] make atomic_read() behave consistently on frv, Segher Boessenkool, (Wed Aug 15, 2:15 pm)