All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: make submit failure path consistent on desc freeing
Date: Wed, 25 Aug 2021 17:00:35 +0530	[thread overview]
Message-ID: <YSYp2/lv6cATOX+C@matsya> (raw)
In-Reply-To: <162827146072.3459011.10255348500504659810.stgit@djiang5-desk3.ch.intel.com>

On 06-08-21, 10:37, Dave Jiang wrote:
> The submission path for dmaengine API does not do descriptor freeing on
> failure. Also, with the abort mechanism, the freeing of desriptor happens
> when the abort callback is completed. Therefore free descriptor on all
> error paths for submission call to make things consistent. Also remove the
> double free that would happen on abort in idxd_dma_tx_submit() call.

Applied, thanks

-- 
~Vinod

      reply	other threads:[~2021-08-25 11:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 17:37 [PATCH] dmaengine: idxd: make submit failure path consistent on desc freeing Dave Jiang
2021-08-25 11:30 ` 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=YSYp2/lv6cATOX+C@matsya \
    --to=vkoul@kernel.org \
    --cc=dave.jiang@intel.com \
    --cc=dmaengine@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.