drm-amdgpu-dont-abuse-current-group_leader.patch removed from -mm tree
The quilt patch titled
Subject: drm/amdgpu: don't abuse current->group_leader
has been removed from the -mm tree. Its filename was
drm-amdgpu-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: drm/amdgpu: don't abuse current->group_leader
Date: Sun, 25 Jan 2026 17:07:28 +0100
Cleanup and preparation to simplify the next changes.
- Use current->tgid instead of current->group_leader->pid
- Use get_task_pid(current, PIDTYPE_TGID) instead of get_task_pid(current->group_leader, PIDTYPE_PID)
Signed-off-by Oleg Nesterov <[email protected]>
Acked-by Felix Kuehling <[email protected]>
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 Jakub Kicinski <[email protected]>
Cc Leon Romanovsky <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc Simon Horman <[email protected]>
Cc Steven Price <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c renamed from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c~drm-amdgpu-dont-abuse-current-group_leader +1 -1
@@ -1421,7 +1421,7 @@ static int init_kfd_vm(struct amdgpu_vm goto create_evict_fence_fail; } - info->pid =get_task_pid (current->group_leader,PIDTYPE_PID ); + info->pid =get_task_pid (current,PIDTYPE_TGID );INIT_DELAYED_WORK (&info->restore_userptr_work, amdgpu_amdkfd_restore_userptr_worker);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c renamed from drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c~drm-amdgpu-dont-abuse-current-group_leader +1 -1
@@ -2554,7 +2554,7 @@ void amdgpu_vm_set_task_info(struct amdgif (current->group_leader->mm != current->mm)return ; - vm->task_info->tgid = current->group_leader->pid; + vm->task_info->tgid = current->tgid;get_task_comm (vm->task_info->process_name, current->group_leader); }
_
Patches currently in -mm which might be from [email protected] are