[folded-merged] kthread-add-kthread_stop_put-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxx
Signed-off-by: Andreas Gruenbacher <agruenba@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxx are

kthread-add-kthread_stop_put.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux