Re: [RFC][PATCH] PM / Runtime: Use alloc_workqueue() for creatingPM workqueue

From: Tejun Heo
Date: Fri Sep 17 2010 - 05:58:21 EST


On 09/16/2010 08:24 PM, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
> Subject: PM / Runtime: Use alloc_workqueue() for creating the PM workqueue
>
> Although we need the PM workqueue to be freezable, we don't need it
> to be singlethread. Also, the number of concurrent work items
> running on a single CPU need not be constrained. For these reasons
> use alloc_workqueue() directly, with suitable arguments, instead of
> create_freezeable_workqueue(), to create the runtime PM workqueue.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/