All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] scripts-gdb-tasks-fix-lx-ps-command-error-v2.patch removed from -mm tree
@ 2023-12-07  0:08 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-12-07  0:08 UTC (permalink / raw)
  To: mm-commits, qun-wei.lin, oleg, matthias.bgg, chinwen.chang,
	angelogioacchino.delregno, andreyknvl, Kuan-Ying.Lee, akpm


The quilt patch titled
     Subject: scripts-gdb-tasks-fix-lx-ps-command-error-v2
has been removed from the -mm tree.  Its filename was
     scripts-gdb-tasks-fix-lx-ps-command-error-v2.patch

This patch was dropped because it was folded into scripts-gdb-tasks-fix-lx-ps-command-error.patch

------------------------------------------------------
From: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Subject: scripts-gdb-tasks-fix-lx-ps-command-error-v2
Date: Wed, 29 Nov 2023 14:51:38 +0800

Link: https://lkml.kernel.org/r/20231129065142.13375-2-Kuan-Ying.Lee@mediatek.com
Fixes: 8e1f385104ac ("kill task_struct->thread_group")
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Qun-Wei Lin <qun-wei.lin@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 scripts/gdb/linux/tasks.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/scripts/gdb/linux/tasks.py~scripts-gdb-tasks-fix-lx-ps-command-error-v2
+++ a/scripts/gdb/linux/tasks.py
@@ -22,15 +22,15 @@ task_type = utils.CachedType("struct tas
 def task_lists():
     task_ptr_type = task_type.get_type().pointer()
     init_task = gdb.parse_and_eval("init_task").address
-    t = g = init_task
+    t = init_task
 
     while True:
         thread_head = t['signal']['thread_head']
         for thread in lists.list_for_each_entry(thread_head, task_ptr_type, 'thread_node'):
             yield thread
 
-        t = g = utils.container_of(g['tasks']['next'],
-                                   task_ptr_type, "tasks")
+        t = utils.container_of(t['tasks']['next'],
+                               task_ptr_type, "tasks")
         if t == init_task:
             return
 
_

Patches currently in -mm which might be from Kuan-Ying.Lee@mediatek.com are

scripts-gdb-tasks-fix-lx-ps-command-error.patch
scripts-gdb-stackdepot-rename-pool_index-to-pools_num.patch
scripts-gdb-remove-exception-handling-and-refine-print-format.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-07  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07  0:08 [folded-merged] scripts-gdb-tasks-fix-lx-ps-command-error-v2.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.