From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v6 00/20] kthread: Use kthread worker API more widely Date: Fri, 22 Apr 2016 14:30:40 -0400 Message-ID: <20160422183040.GW7822@mtj.duckdns.org> References: <1460646879-617-1-git-send-email-pmladek@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-yw0-f194.google.com ([209.85.161.194]:35938 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751172AbcDVSan (ORCPT ); Fri, 22 Apr 2016 14:30:43 -0400 Content-Disposition: inline In-Reply-To: <1460646879-617-1-git-send-email-pmladek@suse.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Petr Mladek Cc: Andrew Morton , Oleg Nesterov , Ingo Molnar , Peter Zijlstra , Steven Rostedt , "Paul E. McKenney" , Josh Triplett , Thomas Gleixner , Linus Torvalds , Jiri Kosina , Borislav Petkov , Michal Hocko , linux-mm@kvack.org, Vlastimil Babka , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , linux-watchdog@vger.kernel.org, Corey Minyard , openipmi-developer@lists.sourceforge.net, Doug Ledford , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, Maxim Levitsky 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