diff options
author | Tejun Heo <tj@kernel.org> | 2011-02-01 05:42:42 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-01 05:42:42 -0500 |
commit | 44d2588e1102b4e35022d03b7f124dd6ea013ce8 (patch) | |
tree | 4857e50a6a8825a633658d9f8f81d8512a874348 /drivers | |
parent | d37adaa1596246929f7ab49843fd124595506175 (diff) |
acpi: kacpi*_wq don't need WQ_MEM_RECLAIM
ACPI workqueues aren't used during memory reclaming. Use
alloc_workqueue() to create workqueues w/o rescuers.
If the purpose of the separation between kacpid_wq and kacpi_notify_wq
was to give notifications better response time, kacpi_notify_wq can be
dropped and kacpi_wq can be created with higher @max_active.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/osl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b0931818cf98..60a80cbfcdc7 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1578,9 +1578,9 @@ acpi_status __init acpi_os_initialize(void) | |||
1578 | 1578 | ||
1579 | acpi_status __init acpi_os_initialize1(void) | 1579 | acpi_status __init acpi_os_initialize1(void) |
1580 | { | 1580 | { |
1581 | kacpid_wq = create_workqueue("kacpid"); | 1581 | kacpid_wq = alloc_workqueue("kacpid", 0, 1); |
1582 | kacpi_notify_wq = create_workqueue("kacpi_notify"); | 1582 | kacpi_notify_wq = alloc_workqueue("kacpi_notify", 0, 1); |
1583 | kacpi_hotplug_wq = create_workqueue("kacpi_hotplug"); | 1583 | kacpi_hotplug_wq = alloc_workqueue("kacpi_hotplug", 0, 1); |
1584 | BUG_ON(!kacpid_wq); | 1584 | BUG_ON(!kacpid_wq); |
1585 | BUG_ON(!kacpi_notify_wq); | 1585 | BUG_ON(!kacpi_notify_wq); |
1586 | BUG_ON(!kacpi_hotplug_wq); | 1586 | BUG_ON(!kacpi_hotplug_wq); |