All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] kthread-add-kthread_stop_put-v2.patch removed from -mm tree
@ 2023-10-04 20:23 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-10-04 20:23 UTC (permalink / raw)
  To: mm-commits, agruenba, akpm


The quilt patch titled
     Subject: kthread-add-kthread_stop_put-v2
has been removed from the -mm tree.  Its filename was
     kthread-add-kthread_stop_put-v2.patch

This patch was dropped because it was folded into kthread-add-kthread_stop_put.patch

------------------------------------------------------
From: Andreas Gruenbacher <agruenba@redhat.com>
Subject: kthread-add-kthread_stop_put-v2
Date: Mon, 11 Sep 2023 13:17:30 +0200

fix kerneldoc comment

Link: https://lkml.kernel.org/r/20230911111730.2565537-1-agruenba@redhat.com
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/kthread.c |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

--- a/kernel/kthread.c~kthread-add-kthread_stop_put-v2
+++ a/kernel/kthread.c
@@ -718,16 +718,9 @@ EXPORT_SYMBOL(kthread_stop);
 /**
  * kthread_stop_put - stop a thread and put its task struct
  *
- * Stops a kthread and put its task_struct.  This is meant for callers
- * that are holding an extra reference on the task struct, for example:
- *
- *   t = kthread_create(...);
- *   if (!IS_ERR(t)) {
- *     get_task_struct(t);
- *     wake_up_process(t);
- *   }
- *
- * Returns the result of kthread_stop().
+ * Stops a thread created by kthread_create() and put its task_struct.
+ * Only use when holding an extra task struct reference obtained by
+ * calling get_task_struct().
  */
 int kthread_stop_put(struct task_struct *k)
 {
_

Patches currently in -mm which might be from agruenba@redhat.com are

kthread-add-kthread_stop_put.patch


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

only message in thread, other threads:[~2023-10-04 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 20:23 [folded-merged] kthread-add-kthread_stop_put-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.