Thread (55 messages) 55 messages, 11 authors, 2021-10-27

Re: [PATCH 18/20] exit/rtl8723bs: Replace the macro thread_exit with a simple return 0

From: Kees Cook <hidden>
Date: 2021-10-21 16:37:16
Also in: lkml

On Wed, Oct 20, 2021 at 12:44:04PM -0500, Eric W. Biederman wrote:
Every place thread_exit is called is at the end of a function started
with kthread_run.  The code in kthread_run has arranged things so a
kernel thread can just return and do_exit will be called.

So just have the threads return instead of calling complete_and_exit.

Signed-off-by: "Eric W. Biederman" <redacted>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help