set_kthread_struct
bool set_kthread_struct(struct task_struct *p);
if (!set_kthread_struct(p))
WARN_ON(!set_kthread_struct(current));