From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: Sanjay Kumar <sanjay.k.kumar@intel.com>, dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Fix list corruption in description completion
Date: Sun, 17 Jan 2021 12:21:45 +0530 [thread overview]
Message-ID: <20210117065145.GN2771@vkoul-mobl> (raw)
In-Reply-To: <161074757267.2183951.17912830858060607266.stgit@djiang5-desk3.ch.intel.com>
On 15-01-21, 14:52, Dave Jiang wrote:
> Sanjay reported the following kernel splat after running dmatest for stress
> testing. The current code is giving up the spinlock in the middle of
> a completion list walk, and that opens up opportunity for list corruption
> if another thread touches the list at the same time. In order to make sure
> the list is always protected, the hardware completed descriptors will be
> put on a local list to be completed with callbacks from the outside of
> the list lock.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2021-01-17 6:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 21:52 [PATCH] dmaengine: idxd: Fix list corruption in description completion Dave Jiang
2021-01-17 6:51 ` Vinod Koul [this message]
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=20210117065145.GN2771@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=dave.jiang@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=sanjay.k.kumar@intel.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