linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Matt Turner <mattst88@gmail.com>
Cc: Michael Cree <mcree@orcon.net.nz>,
	parri.andrea@gmail.com, Will Deacon <will.deacon@arm.com>,
	linux-alpha <linux-alpha@vger.kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Richard Henderson <rth@twiddle.net>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	mark.rutland@arm.com
Subject: Re: Do any Alpha systems include InfiniBand?
Date: Fri, 20 Oct 2017 13:15:39 -0700	[thread overview]
Message-ID: <20171020201539.GW3521@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAEdQ38FosVOEXrawAFzaFjhVPiEwzJVetV1PuiY2Kku8c6Ft0Q@mail.gmail.com>

On Fri, Oct 20, 2017 at 01:00:14PM -0700, Matt Turner wrote:
> On Fri, Oct 20, 2017 at 12:48 PM, Paul E. McKenney
> <paulmck@linux.vnet.ibm.com> wrote:
> > Hello, Michael,
> >
> > Do any of the DEC Alpha systems that run recent kernels have InfiniBand?
> > Given my understanding of the history, I believe the answer to be "no".
> > If I am wrong, please let me know, as I will otherwise interpret silence
> > as assent.  ;-)
> 
> I'm not aware of any shipping with Infiniband, and I haven't heard of
> anyone putting Infiniband in an Alpha.
> 
> Why do you ask? :)

Because the Linux-kernel InfiniBand driver contains a bunch of instances
of smp_read_barrier_depends(), which matter only on Alpha.  Plus the
InfiniBand maintainers have not responded to queries about what these
smp_read_barrier_depends() instances are supposed to do.  Now it might be
that they are just busy, or it might be that they don't know themselves.

If Alpha doesn't use InfiniBand, they can simply be removed.  On the
other hand, if Alpha -did- use InfiniBand, it would be necessary to
inspect the code to determine whether if READ_ONCE() needs to be added
somewhere to make up for the removal of smp_read_barrier_depends().

The reason this came up to begin with is that Will Deacon is adding an
smp_read_barrier_depends() to READ_ONCE() and Mark Rutland is converting
all ACCESS_ONCE() instances to either READ_ONCE() or WRITE_ONCE().
With these changes, core code need not know about Alpha, and almost all
instances of smp_read_barrier_depends() can be removed.

Hey, you asked!  ;-)

							Thanx, Paul


  reply	other threads:[~2017-10-20 20:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20 19:48 Do any Alpha systems include InfiniBand? Paul E. McKenney
2017-10-20 20:00 ` Matt Turner
2017-10-20 20:15   ` Paul E. McKenney [this message]
2017-10-23  8:59 ` Michael Cree
2017-10-23 17:13   ` Paul E. McKenney
2017-10-23 17:16     ` Will Deacon
2017-10-23 18:01       ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171020201539.GW3521@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-alpha@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mattst88@gmail.com \
    --cc=mcree@orcon.net.nz \
    --cc=parri.andrea@gmail.com \
    --cc=peterz@infradead.org \
    --cc=rth@twiddle.net \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).