From: Jason Gunthorpe <jgg@ziepe.ca>
To: Zhu Yanjun <zyjzyj2000@gmail.com>
Cc: Mikhail Malygin <m.malygin@yadro.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
Sergey Kojushev <S.Kojushev@yadro.com>,
"linux@yadro.com" <linux@yadro.com>
Subject: Re: [PATCH] rdma_rxe: Prevent access to wr->next ptr afrer wr is posted to send queue
Date: Thu, 16 Jul 2020 08:41:15 -0300 [thread overview]
Message-ID: <20200716114115.GF25301@ziepe.ca> (raw)
In-Reply-To: <CAD=hENdB-hVZr-ivU9FhVqEiF4WJZmjuY3iFBpuEJqRD548zkQ@mail.gmail.com>
On Thu, Jul 16, 2020 at 11:17:09AM +0800, Zhu Yanjun wrote:
> On Wed, Jul 15, 2020 at 8:39 PM Mikhail Malygin <m.malygin@yadro.com> wrote:
> >
> > Thanks, I’ll post an updated version.
> >
> > Mikhail
> >
> > > On 15 Jul 2020, at 14:37, Jason Gunthorpe <jgg@nvidia.com> wrote:
> > >
> > > The spinock in post_one_send() guarantees no reordering across
>
> How about spin_lock_irqsave?
The unlock of any lock prevents store reordering by definition
Jason
next prev parent reply other threads:[~2020-07-16 11:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 8:57 [PATCH] rdma_rxe: Prevent access to wr->next ptr afrer wr is posted to send queue Mikhail Malygin
2020-07-15 11:37 ` Jason Gunthorpe
2020-07-15 12:18 ` Mikhail Malygin
2020-07-16 3:17 ` Zhu Yanjun
2020-07-16 11:41 ` Jason Gunthorpe [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-09 12:54 m.malygin
2020-07-14 19:59 ` Jason Gunthorpe
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=20200716114115.GF25301@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=S.Kojushev@yadro.com \
--cc=linux-rdma@vger.kernel.org \
--cc=linux@yadro.com \
--cc=m.malygin@yadro.com \
--cc=zyjzyj2000@gmail.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).