From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: Re: concurrent rhashtable test failure Date: Wed, 26 Oct 2016 11:51:39 +0200 Message-ID: <20161026095139.GA16590@pox.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Phil Sutter , Herbert Xu , "netdev@vger.kernel.org" , linux-m68k To: Geert Uytterhoeven Return-path: Received: from mail-wm0-f45.google.com ([74.125.82.45]:35681 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750720AbcJZJvl (ORCPT ); Wed, 26 Oct 2016 05:51:41 -0400 Received: by mail-wm0-f45.google.com with SMTP id e69so16224569wmg.0 for ; Wed, 26 Oct 2016 02:51:41 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 10/24/16 at 02:11pm, Geert Uytterhoeven wrote: > Hi Phil, > > On m68k/ARAnyM, test_rhashtable fails with: > > Test failed: thread 0 returned: -4 > > (-4 = -EINTR) The error is returned by kthread_stop(), I suspect we are running into this: static int kthread(void *_create) { [...] complete(done); schedule(); ret = -EINTR; if (!test_bit(KTHREAD_SHOULD_STOP, &self.flags)) { __kthread_parkme(&self); ret = threadfn(data); } /* we can't just return, we must preserve "self" on stack */ do_exit(ret); }