Re: [PATCH] RFC: siox: don't create a thread without starting it

From: Peter Zijlstra
Date: Tue Jun 26 2018 - 03:32:07 EST


On Mon, Jun 25, 2018 at 09:21:21PM +0200, Uwe Kleine-König wrote:
> > > So I wonder where the real problem is and how it can be fixed.
> >
> > Without the first wakeup, the kthread will not run the provided function
> > and we can therefore argue the creation is incomplete. I really feel you
> > should just wake the thing up to land in your own wait-condition-loop.

> Is this an ack for the RFC patch you replied to?

Yes,

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>