]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PM / Runtime: Use alloc_workqueue() for creating the PM workqueue
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 20 Sep 2010 17:44:17 +0000 (19:44 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 16 Oct 2010 23:57:42 +0000 (01:57 +0200)
commitbcb5ba8b4e8a5ae14b27351bdf499dd4c3bcc944
tree0eaccca57b57868046afbbd52b33101359b01daf
parentede890c2c069d611ece0e184103a6b9236ce416a
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@sisk.pl>
Acked-by: Tejun Heo <tj@kernel.org>
kernel/power/main.c