From patchwork Mon Jan 3 13:49:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejun Heo X-Patchwork-Id: 448091 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p03DvCuK029985 for ; Mon, 3 Jan 2011 13:57:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755118Ab1ACNuV (ORCPT ); Mon, 3 Jan 2011 08:50:21 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:36659 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755026Ab1ACNuT (ORCPT ); Mon, 3 Jan 2011 08:50:19 -0500 Received: by mail-bw0-f46.google.com with SMTP id 15so13706072bwz.19 for ; Mon, 03 Jan 2011 05:50:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=wyd7DvuYLJDv/1MOmAwSoq1Jb45xClSKHuN9fC2OPOs=; b=tLWsUeY/Z8zs/fl4XYRIOq6QJMHPLyvqsn6ZJdJwQ2RxAz3YqYt8WVuLZGdZbdOGfP gETmfVP1cKFcda3q53DJG9TJU8h21pl9sEOyeyOQbWIj7ZIi4lVVPw6lvUHSePMUUA4D qaOIwG5rajUcLDOKHRn5eaTGYtwZJLZ0WJv98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=fYZ03VMoIs7w/xqNi5C7/DUsJu0A1badnxulm1bh9uJp4cRdLVFhMBEwUvF+7DG8V8 SMhJUi1q70kkU6SkgMnooWIS6cDvBfLVrZ4lVu4olMNipFQ8R5uSXER2lOFOiLo2jBOV pMXT9gF4vAY5GxSpCY2taZbqolilFCseBGhRk= Received: by 10.204.60.14 with SMTP id n14mr4459888bkh.118.1294062618790; Mon, 03 Jan 2011 05:50:18 -0800 (PST) Received: from localhost.localdomain ([130.75.117.88]) by mx.google.com with ESMTPS id f20sm9026594bkf.4.2011.01.03.05.50.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Jan 2011 05:50:17 -0800 (PST) From: Tejun Heo To: linux-kernel@vger.kernel.org Cc: Tejun Heo , Len Brown , linux-acpi@vger.kernel.org Subject: [PATCH 06/32] acpi: kacpi*_wq don't need WQ_MEM_RECLAIM Date: Mon, 3 Jan 2011 14:49:29 +0100 Message-Id: <1294062595-30097-7-git-send-email-tj@kernel.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1294062595-30097-1-git-send-email-tj@kernel.org> References: <1294062595-30097-1-git-send-email-tj@kernel.org> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 03 Jan 2011 13:57:13 +0000 (UTC) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 055d7b7..c961e18 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1573,9 +1573,9 @@ acpi_status __init acpi_os_initialize(void) acpi_status __init acpi_os_initialize1(void) { - kacpid_wq = create_workqueue("kacpid"); - kacpi_notify_wq = create_workqueue("kacpi_notify"); - kacpi_hotplug_wq = create_workqueue("kacpi_hotplug"); + kacpid_wq = alloc_workqueue("kacpid", 0, 1); + kacpi_notify_wq = alloc_workqueue("kacpi_notify", 0, 1); + kacpi_hotplug_wq = alloc_workqueue("kacpi_hotplug", 0, 1); BUG_ON(!kacpid_wq); BUG_ON(!kacpi_notify_wq); BUG_ON(!kacpi_hotplug_wq);