]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/umem: Move umem dmabuf revoke logic into helper function
authorJacob Moroni <jmoroni@google.com>
Thu, 5 Mar 2026 17:08:23 +0000 (17:08 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 8 Mar 2026 12:37:38 +0000 (08:37 -0400)
commit797291a66ce346c96114b72222fc290d402da005
tree1c8e86d64b7b9e916918169876d71feed3f021e6
parent553dfa8cbd0c6d36adae042d9738ddf8f8765ac7
RDMA/umem: Move umem dmabuf revoke logic into helper function

This same logic will eventually be reused from within the
invalidate_mappings callback which already has the dma_resv_lock
held, so break it out into a separate function so it can be reused.

Signed-off-by: Jacob Moroni <jmoroni@google.com>
Link: https://patch.msgid.link/20260305170826.3803155-3-jmoroni@google.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/umem_dmabuf.c