From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Singlethread vs. freezable workqueues Date: Mon, 21 May 2007 21:54:33 +0200 Message-ID: <200705212154.34490.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Alan Stern Cc: Linux-pm mailing list , Oleg Nesterov List-Id: linux-pm@vger.kernel.org Hi, On Monday, 21 May 2007 21:33, Alan Stern wrote: > Raphael: > > Are we now committed to making freezable workqueues always > singlethreaded? Is it at all likely to change back? Or should I > introduce a "create_singlethread_freezeable_workqueue" macro? This was done as a quick fix of an issue with one driver that started to use (broken) freezable workqueues when we were not watching. ;-) We are going to have multithread freezable workqueues as well, but that'll take some time. We've discussed this a bit with Oleg and I believe he has an idea of how it can be done cleanly. Greetings, Rafael