From: Vinod Koul <vkoul@kernel.org>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: Remove a useless mutex
Date: Mon, 11 Apr 2022 19:52:48 +0530 [thread overview]
Message-ID: <YlQ5uOk4WPXAfV0V@matsya> (raw)
In-Reply-To: <7180452c1d77b039e27b6f9418e0e7d9dd33c431.1644140845.git.christophe.jaillet@wanadoo.fr>
On 06-02-22, 10:47, Christophe JAILLET wrote:
> According to lib/idr.c,
> The IDA handles its own locking. It is safe to call any of the IDA
> functions without synchronisation in your code.
>
> so the 'chan_mutex' mutex can just be removed.
> It is here only to protect some ida_alloc()/ida_free() calls.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2022-04-11 14:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-06 9:47 [PATCH] dmaengine: Remove a useless mutex Christophe JAILLET
2022-04-11 14:22 ` 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=YlQ5uOk4WPXAfV0V@matsya \
--to=vkoul@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=dmaengine@vger.kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox