Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>,
	 Junxian Huang <huangjunxian6@hisilicon.com>,
	 Chengchang Tang <tangchengchang@huawei.com>,
	 Edward Srouji <edwards@nvidia.com>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Or Har-Toov <ohartoov@nvidia.com>
Subject: Re: [PATCH rdma-next] RDMA/uverbs: Fix mmap_lock/disassociation_lock circular dependency
Date: Tue, 01 Sep 2026 10:04:08 -0400	[thread overview]
Message-ID: <178827144803.1380198.18045973124694867362.b4-ty@kernel.org> (raw)
In-Reply-To: <20260811-fix-mmap-lockdep-v1-1-1151b41063b4@nvidia.com>


On Tue, 11 Aug 2026 19:19:16 +0300, Edward Srouji wrote:
> Commit 51976c6cd786 ("RDMA/core: Provide rdma_user_mmap_disassociate()
> to disassociate mmap pages") introduced disassociation_lock to protect
> new mmap registrations against uverbs_user_mmap_disassociate(), but
> created an ABBA deadlock:
> 
>   Thread A (mmap / fork):
>     mmap_lock -> disassociation_lock
> 
> [...]

Applied, thanks!

[1/1] RDMA/uverbs: Fix mmap_lock/disassociation_lock circular dependency
      https://git.kernel.org/rdma/rdma/c/a44a3f175eaee7

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


      parent reply	other threads:[~2026-09-01 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11 16:19 [PATCH rdma-next] RDMA/uverbs: Fix mmap_lock/disassociation_lock circular dependency Edward Srouji
2026-08-14  9:47 ` Junxian Huang
2026-09-01 14:04 ` Leon Romanovsky [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=178827144803.1380198.18045973124694867362.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=edwards@nvidia.com \
    --cc=huangjunxian6@hisilicon.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=ohartoov@nvidia.com \
    --cc=tangchengchang@huawei.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