Re: [PATCH] kthread: fix boot hang (regression) on MIPS/OpenRISC

From: Oleg Nesterov
Date: Mon May 29 2017 - 12:19:04 EST


On 05/29, Vegard Nossum wrote:
>
> This fixes a regression in commit 4d6501dce079 where I didn't notice
> that MIPS and OpenRISC were reinitialising p->{set,clear}_child_tid to
> NULL after our initialisation in copy_process().

Oh, I didn't even know that arch/ can play with xxx_child_tid,

> We can simply get rid of the arch-specific initialisation here

Agreed. Thanks!

Acked-by: Oleg Nesterov <oleg@xxxxxxxxxx>