On Fri, 28 Oct 2016, Oleg Nesterov wrote: > I still think we should kill struct kthread in its current form, but this > needs cleanups outside of kthread.c. > > So make it kmalloc'ed for now to avoid the problems with stack corruption, > for example the crashed kthread will likely OOPS again because its .exited > was destroyed by rewind_stack_do_exit(). > > Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>

