[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161026095139.GA16590@pox.localdomain>
Date:   Wed, 26 Oct 2016 11:51:39 +0200
From:   Thomas Graf <tgraf@...g.ch>
To:     Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:     Phil Sutter <phil@....cc>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        linux-m68k <linux-m68k@...ts.linux-m68k.org>
Subject: Re: concurrent rhashtable test failure
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);
}
Powered by blists - more mailing lists
 
