From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250AbdE2QTC (ORCPT ); Mon, 29 May 2017 12:19:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56046 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbdE2QTA (ORCPT ); Mon, 29 May 2017 12:19:00 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 301DFC056789 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=oleg@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 301DFC056789 Date: Mon, 29 May 2017 18:18:50 +0200 From: Oleg Nesterov To: Vegard Nossum Cc: Thomas Gleixner , Ralf Baechle , Stafford Horne , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Jonas Bonn , Stefan Kristiansson , openrisc@lists.librecores.org, Jamie Iles Subject: Re: [PATCH] kthread: fix boot hang (regression) on MIPS/OpenRISC Message-ID: <20170529161850.GA15236@redhat.com> References: <20170529072207.16130-1-vegard.nossum@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170529072207.16130-1-vegard.nossum@oracle.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 29 May 2017 16:18:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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