Skip to contentSkip to conversation

rdma-umem-dont-abuse-current-group_leader.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Feb 1

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: RDMA/umem: don't abuse current->group_leader

has been removed from the -mm tree. Its filename was
rdma-umem-dont-abuse-current-group_leader.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: RDMA/umem: don't abuse current->group_leader
Date: Sun, 25 Jan 2026 17:07:52 +0100

Cleanup and preparation to simplify the next changes.

Use current->tgid instead of current->group_leader->pid.

Cc Alice Ryhl <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Christan König <[email protected]>
Cc David S. Miller <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Felix Kuehling <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc Simon Horman <[email protected]>
Cc Steven Price <[email protected]>

---

 drivers/infiniband/core/umem_odp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/infiniband/core/umem_odp.c renamed from drivers/infiniband/core/umem_odp.c~rdma-umem-dont-abuse-current-group_leader +2 -2
@@ -149,7 +149,7 @@ struct ib_umem_odp *ib_umem_odp_alloc_im
 	umem->owning_mm = current->mm;
 	umem_odp->page_shift = PAGE_SHIFT;
 
-	umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID);
+	umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID);
 	ib_init_umem_implicit_odp(umem_odp);
 	return umem_odp;
 }
@@ -258,7 +258,7 @@ struct ib_umem_odp *ib_umem_odp_get(stru
 		umem_odp->page_shift = HPAGE_SHIFT;
 #endif
 
-	umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID);
+	umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID);
 	ret = ib_init_umem_odp(umem_odp, ops);
 	if (ret)
 		goto err_put_pid;

_

Patches currently in -mm which might be from [email protected] are