Files
linux/kernel
Andreas Gruenbacher 6309727ef2 kthread: add kthread_stop_put
Add a kthread_stop_put() helper that stops a thread and puts its task
struct.  Use it to replace the various instances of kthread_stop()
followed by put_task_struct().

Remove the kthread_stop_put() macro in usbip that is similar but doesn't
return the result of kthread_stop().

[agruenba@redhat.com: fix kerneldoc comment]
  Link: https://lkml.kernel.org/r/20230911111730.2565537-1-agruenba@redhat.com
[akpm@linux-foundation.org: document kthread_stop_put()'s argument]
Link: https://lkml.kernel.org/r/20230907234048.2499820-1-agruenba@redhat.com
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-10-04 10:41:57 -07:00
..
2023-10-04 10:41:57 -07:00
2022-09-26 10:13:13 -07:00
2023-08-18 10:18:49 -07:00
2023-10-04 10:41:56 -07:00
2023-10-04 10:41:56 -07:00
2023-03-24 11:01:29 +01:00
2023-10-04 10:41:56 -07:00
2023-08-23 09:38:17 +09:00
2023-10-04 10:41:57 -07:00
2023-09-19 13:21:33 -07:00
2023-10-04 10:41:57 -07:00
2023-10-04 10:41:57 -07:00
2023-08-15 15:26:17 -07:00