Skip to contentSkip to conversation

drm-pan-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: drm/pan*: don't abuse current->group_leader

has been removed from the -mm tree. Its filename was
drm-pan-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/pan*: don't abuse current->group_leader
Date: Sun, 25 Jan 2026 17:07:44 +0100

Cleanup and preparation to simplify the next changes.

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

---

 drivers/gpu/drm/panfrost/panfrost_gem.c |    2 +-
 drivers/gpu/drm/panthor/panthor_gem.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/panfrost/panfrost_gem.c renamed from drivers/gpu/drm/panfrost/panfrost_gem.c~drm-pan-dont-abuse-current-group_leader +1 -1
@@ -17,7 +17,7 @@
 static void panfrost_gem_debugfs_bo_add(struct panfrost_device *pfdev,
 					struct panfrost_gem_object *bo)
 {
-	bo->debugfs.creator.tgid = current->group_leader->pid;
+	bo->debugfs.creator.tgid = current->tgid;
 	get_task_comm(bo->debugfs.creator.process_name, current->group_leader);
 
 	mutex_lock(&pfdev->debugfs.gems_lock);
drivers/gpu/drm/panthor/panthor_gem.c renamed from drivers/gpu/drm/panthor/panthor_gem.c~drm-pan-dont-abuse-current-group_leader +1 -1
@@ -27,7 +27,7 @@ static void panthor_gem_debugfs_bo_add(s
 	struct panthor_device *ptdev = container_of(bo->base.base.dev,
 						    struct panthor_device, base);
 
-	bo->debugfs.creator.tgid = current->group_leader->pid;
+	bo->debugfs.creator.tgid = current->tgid;
 	get_task_comm(bo->debugfs.creator.process_name, current->group_leader);
 
 	mutex_lock(&ptdev->gems.lock);

_

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