Re: memory barrier question

From: Paul E. McKenney
Date: Tue Sep 21 2010 - 10:59:20 EST


On Mon, Sep 20, 2010 at 01:40:55PM -0700, Paul E. McKenney wrote:
> On Tue, Sep 21, 2010 at 08:26:14AM +1200, Michael Cree wrote:
> > On 21/09/10 06:25, Paul E. McKenney wrote:
> > >But do we really care about Alpha anymore? (I can see it now... The
> > >Alpha portion of the kernel tree moves to staging...)
> >
> > I do.
> >
> > Sent from my Compaq Alpha XP1000 :-)
>
> In that case, an smp_read_barrier_depends() or rcu_dereference() is
> also required...

Wait a minute... I finally got a chance to look up the system. This
system has only a single Alpha CPU, right?

If so, just build a UP kernel and be happy. No need to worry about
any of these SMP issues.

So, an alternative proposal -- support only UP kernels on Alpha. ;-)

Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/