Re: [PATCH v6 00/20] kthread: Use kthread worker API more widely

From: Tejun Heo
Date: Fri Apr 22 2016 - 14:30:49 EST


Hello, Petr.

On Thu, Apr 14, 2016 at 05:14:19PM +0200, Petr Mladek wrote:
> My intention is to make it easier to manipulate and maintain kthreads.
> Especially, I want to replace all the custom main cycles with a
> generic one. Also I want to make the kthreads sleep in a consistent
> state in a common place when there is no work.
>
> My first attempt was with a brand new API (iterant kthread), see
> http://thread.gmane.org/gmane.linux.kernel.api/11892 . But I was
> directed to improve the existing kthread worker API. This is
> the 4th iteration of the new direction.
>
> 1nd..10th patches: improve the existing kthread worker API

I glanced over them and they generally look good to me. Let's see how
people respond to actual conversions.

Thanks.

--
tejun