Files
linux/drivers
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
2023-08-22 15:50:57 +02:00
2023-08-24 16:20:30 -07:00
2023-10-04 10:41:57 -07:00
2023-10-04 10:41:57 -07:00
2023-10-04 10:41:57 -07:00
2023-08-30 18:32:24 -07:00
2023-08-18 10:55:49 +05:30
2023-09-11 15:24:16 -07:00
2023-09-13 08:16:24 +02:00
2023-10-04 10:41:57 -07:00
2023-09-21 10:33:49 +02:00
2023-08-24 16:20:18 -07:00
2023-08-21 13:27:44 +02:00